[infinispan-dev] Changes to the Command interfaces

Manik Surtani manik at jboss.org
Wed Mar 10 12:34:15 EST 2010


In the light of https://jira.jboss.org/jira/browse/ISPN-369, VisitableCommand has been refactored to gain a shouldInvoke() method.  This allows invokers to check whether the command should be invoked before passing the command up the interceptor stack, acquiring and holding locks, etc.

I have updated all command implementations in trunk accordingly, this is just an FYI to anyone who may be considering implementing more commands.

Cheers
Manik

--
Manik Surtani
manik at jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org








More information about the infinispan-dev mailing list