[infinispan-dev] [ISPN-165] Adding visitPutForExternalReadCommand to Visitor interface?

Galder Zamarreno galder.zamarreno at redhat.com
Thu Aug 20 05:05:32 EDT 2009


Hi,

Re: https://jira.jboss.org/jira/browse/ISPN-165

In JBC, this was fixed by having a overriding 
visitPutForExternalReadCommand in InvalidationInterceptor and avoiding 
going remote in its implementation.

In ISPN however, there does not appear to be a similar 
visitPutForExternalReadCommand method, which forces you to check the 
flags passed (Flag.FAIL_SILENTLY, Flag.FORCE_ASYNCHRONOUS, 
Flag.ZERO_LOCK_ACQUISITION_TIMEOUT)

Now, not all calls to with these flags are related to 
putForExternalRead, so I'd suggest adding a 
visitPutForExternalReadCommand to the Visitor interface.

Thoughts?
-- 
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache


More information about the infinispan-dev mailing list