org.jboss.cache.interceptors
Class DataGravitatorInterceptor
java.lang.Object
org.jboss.cache.commands.AbstractVisitor
org.jboss.cache.interceptors.base.CommandInterceptor
org.jboss.cache.interceptors.BaseRpcInterceptor
org.jboss.cache.interceptors.LegacyDataGravitatorInterceptor
org.jboss.cache.interceptors.DataGravitatorInterceptor
- All Implemented Interfaces:
- Visitor
public class DataGravitatorInterceptor
- extends LegacyDataGravitatorInterceptor
MVCC specific version of the LegacyDataGravitatorInterceptor
- Since:
- 3.0
- Author:
- Manik Surtani (manik AT jboss DOT org)
Methods inherited from class org.jboss.cache.commands.AbstractVisitor |
visitClearDataCommand, visitCollection, visitCreateNodeCommand, visitEvictFqnCommand, visitExistsNodeCommand, visitGravitateDataCommand, visitInvalidateCommand, visitMoveCommand, visitPutDataMapCommand, visitPutForExternalReadCommand, visitPutKeyValueCommand, visitRemoveKeyCommand, visitRemoveNodeCommand |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataGravitatorInterceptor
public DataGravitatorInterceptor()
injectMvccNodeHelper
public void injectMvccNodeHelper(MVCCNodeHelper helper)
nodeDoesNotExist
protected boolean nodeDoesNotExist(InvocationContext ctx,
Fqn fqn)
- Overrides:
nodeDoesNotExist
in class LegacyDataGravitatorInterceptor
- Parameters:
ctx
- invocation contextfqn
- fqn to test
- Returns:
- true if the node does not exist; false otherwise.
wrapIfNeeded
protected void wrapIfNeeded(InvocationContext ctx,
Fqn fqnToWrap)
throws InterruptedException
- Overrides:
wrapIfNeeded
in class LegacyDataGravitatorInterceptor
- Throws:
InterruptedException
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.