[jboss-dev-forums] [Design of JBossCache] - Re: Service threads

manik.surtani@jboss.com do-not-reply at jboss.com
Fri Aug 1 08:46:03 EDT 2008


Okay, then for 3.0 here is what I propose:


1.  Eviction and ReplQueue scheduled tasks will now use a ScheduledExecutor instead, just to be more "current" and to make things easier for future changes around here.
2.  AsyncCacheLoader to take in a maxThreads param and to use its own pooled exec service (with a default)
3.  Same for async notifications (with a default)
4.  TcpCacheServer will have its own threading cfgs anyway

And in future if people deem it useful I'll introduce the ability to inject a custom Executor for each of the above.

Now regarding eviction, Brian, could you start another thread/JIRA on redesigning eviction into the logical, distinct tasks you mentioned?  I agree with most of your comments there and think eviction is a little too monolithic at the moment.

Cheers
Manik

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168152#4168152

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4168152



More information about the jboss-dev-forums mailing list