[jbosscache-commits] JBoss Cache SVN: r5617 - core/trunk/src/main/java/org/jboss/cache/interceptors.
jbosscache-commits at lists.jboss.org
jbosscache-commits at lists.jboss.org
Tue Apr 22 06:38:03 EDT 2008
Author: manik.surtani at jboss.com
Date: 2008-04-22 06:38:03 -0400 (Tue, 22 Apr 2008)
New Revision: 5617
Modified:
core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticReplicationInterceptor.java
Log:
Handle moves!
Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticReplicationInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticReplicationInterceptor.java 2008-04-22 10:27:14 UTC (rev 5616)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticReplicationInterceptor.java 2008-04-22 10:38:03 UTC (rev 5617)
@@ -13,6 +13,7 @@
import org.jboss.cache.commands.CommandsFactory;
import org.jboss.cache.commands.cachedata.CreateNodeCommand;
import org.jboss.cache.commands.cachedata.EvictNodeCommand;
+import org.jboss.cache.commands.cachedata.MoveCommand;
import org.jboss.cache.commands.cachedata.PutDataMapCommand;
import org.jboss.cache.commands.cachedata.PutKeyValueCommand;
import org.jboss.cache.commands.cachedata.RemoveDataCommand;
@@ -358,6 +359,12 @@
}
@Override
+ public Object handleMoveCommand(InvocationContext ctx, MoveCommand command) throws Throwable
+ {
+ return command;
+ }
+
+ @Override
public Object handleDefault(InvocationContext ctx, CacheCommand command) throws Throwable
{
throw new CacheException("Not handling " + command + "!");
More information about the jbosscache-commits
mailing list