[infinispan-dev] DefaultExecutorFactory and rejection policy

Pedro Ruivo pedro at infinispan.org
Wed Mar 13 09:29:20 EDT 2013


Hi

I'm working on ISPN-2808 (https://issues.jboss.org/browse/ISPN-2808) and 
I noticed that the DefaultExecutorFactory is creating the executor 
service with an Abortpolicy.

Is there any particular reason for that?

In the new thread pool needed by ISPN-2808, I cannot have the messages 
(i.e. the runnables) discarded, because it can cause some inconsistent 
state and even block all the cluster.

I have set in my branch a CallerRunPolicy. If you see any issue with 
this let me know.

Cheers,
Pedro


More information about the infinispan-dev mailing list