Le lundi 23 avril 2007 à 12:26 +0200, Holger Hoffstaette a écrit :
> While deciding whether to write my own or stealing^h^h^h^h^h^hreusing an
> existing implementation I just stumbled over Mina's ExpiringMap and saw
> that it creates a new private Thread for every Map. May I suggest to make
> this pluggable, e.g. by passing in/setting a ScheduledExecutorService and
> not create a new Thread for every Map? SES exists for a reason and works
> very well. :)
> 
> commons-pool made the same mistake and now 20 small pools needlessly
> create 20 threads that are idle most of the time..
> 
> thanks
> Holger

Really a nice suggestion, can you please fill a JIRA issue ?

Julien

Reply via email to