addressalign-toparrow-leftarrow-leftarrow-right-10x10arrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcredit-cardcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobe--smallglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1languagelaunch-new-window--smalllight-bulblightning-boltlinklocation-pinlockm-swarmSearchmailmediummessagesminusmobilemoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstar-shapestartickettrashtriangle-downtriangle-uptwitteruserwarningyahooyoutube

Re: [ljc] Peculiar behaviour of ManagedScheduledExecutorService

From: Linesh
Sent on: Friday, July 25, 2014, 12:09 PM
Hi Ben, 

What you mentioned in your email below is an interface. 
If the object used for invoking methods on this interface has a fixed poolsize of threads e.g. ScheduledThreadPoolExecutor class object, poolsize made up of core threads will be fixed. 
So thread pool won't resize in that case. 

Regards. 
Linesh. 


Sent from Samsung Mobile


-------- Original message --------
From: Ben Evans <[address removed]>
Date:24/07/2014 11:09 (GMT+00:00)
To: [address removed]
Subject: [ljc] Peculiar behaviour of ManagedScheduledExecutorService

Hi,

Is anyone using the new EE7 ManagedScheduledExecutorService class?

(This is basically an EE version of the ScheduledExecutorService from
java.util.concurrent)

I'm using it in Glassfish 4, and seeing some rather odd behaviour - in
particular it doesn't seem to be sizing the threadpool as the
documentation indicates it should.

I'd be interested in talking to anyone who's also using it or has had
problems with it.

Thanks,

Ben



--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
http://www.meetup.com/Londonjavacommunity/
This message was sent by Ben Evans ([address removed]) from LJC - London Java Community.
To learn more about Ben Evans, visit his/her member profile: http://www.meetup.com/Londonjavacommunity/members/10704992/
Set my mailing list to email me

As they are sent
http://www.meetup.com/Londonjavacommunity/list_prefs/?pref=1

In one daily email
http://www.meetup.com/Londonjavacommunity/list_prefs/?pref=2

Don't send me mailing list messages
http://www.meetup.com/Londonjavacommunity/list_prefs/?pref=0
Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]

People in this
group are also in: