[infinispan-dev] ISPN-699 - proper cancellation of cache store operations

Vladimir Blagojevic vblagoje at redhat.com
Wed Oct 20 16:35:35 EDT 2010


On 2010-10-20, at 9:30 AM, Galder Zamarreño wrote:

> 
> Actually, I can't modify ObjectTable.readObject() signature since it's JBoss Marshalling's class. All we can really do is change the signature of StreamingMarshaller.objectFromObjectStream so that it can throw InterruptedException. In turn, COT.readObject() could throw an IE wrapped inside an IOE. VAM could then catch the IOE and if it contains an IE, throw it as is. This would force cache stores to deal with interrupted exceptions.

However you can force stores to deal with IE, do it! They definitely have to deal with IE's since operations on stores are potentially time consuming.
The question that is getting raised as well is: do we need graceful and non graceful stops on such components?
 


More information about the infinispan-dev mailing list