"Long running" handlers
Marzullo
coder82 at gmail.com
Wed Mar 24 07:52:59 EDT 2010
I think he means that at some point, a new ThreadPoolExecutor is created
there as that class (ordered...) derives from it:
this(corePoolSize, maxChannelMemorySize, maxTotalMemorySize, 30,
TimeUnit.SECONDS);
...
If you keep creating new instances of such class, you create multiple thread
executors, every one of them has a core pool size..... so it's better to
create only one executor and share it, you won't have many idle threads in
different thread executors...
--
View this message in context: http://n2.nabble.com/Long-running-handlers-tp4677280p4790409.html
Sent from the Netty User Group mailing list archive at Nabble.com.
More information about the netty-users
mailing list