[infinispan-dev] DefaultExecutorFactory and rejection policy

Erik Salter an1310 at hotmail.com
Wed Mar 13 09:52:32 EDT 2013


Any reason the messages can't be queued?   In my mind, the benefits would
outweigh the unbounded nature of it.

Erik

-----Original Message-----
From: infinispan-dev-bounces at lists.jboss.org
[mailto:infinispan-dev-bounces at lists.jboss.org] On Behalf Of Pedro Ruivo
Sent: Wednesday, March 13, 2013 9:29 AM
To: ispn-dev
Subject: [infinispan-dev] DefaultExecutorFactory and rejection policy

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
_______________________________________________
infinispan-dev mailing list
infinispan-dev at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev



More information about the infinispan-dev mailing list