[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Usage of Timers in JBM 2
jmesnil
do-not-reply at jboss.com
Fri Jul 10 09:46:16 EDT 2009
I've removed the 2 TimerTasks used by Netty HTTP code (in r7558).
I'll soon commit the removal of 2 other TimerTasks in MessageCounterManager and ResourceManager. Both will also be replaced by Runnabled executed by JBM scheduled thread pool.
There remains 2 TimerTasks:
* 1 in JBMBootstrapServer to check if there is a STOP_ME file and shutdown the server in that case
* 1 in TimedBuffer
The one in JBMBootstraspServer will stay.
I'm not sure for the one in TimedBuffer. I guess we could also use the global scheduled thread pool for this one but the asyncio code already defines its own thread pools (in AIOSequentialFileFactory). Should it also define its own scheduled executor service or can it use the global one?
Clebert, could you comment on this one?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4242889#4242889
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4242889
More information about the jboss-dev-forums
mailing list