org.jboss.cache.interceptors
Class DataGravitatorInterceptor

java.lang.Object
  extended by org.jboss.cache.commands.AbstractVisitor
      extended by org.jboss.cache.interceptors.base.CommandInterceptor
          extended by org.jboss.cache.interceptors.BaseRpcInterceptor
              extended by org.jboss.cache.interceptors.LegacyDataGravitatorInterceptor
                  extended by 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)

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.cache.interceptors.LegacyDataGravitatorInterceptor
LegacyDataGravitatorInterceptor.ResponseValidityFilter
 
Field Summary
 
Fields inherited from class org.jboss.cache.interceptors.BaseRpcInterceptor
defaultSynchronous, rpcManager, txTable
 
Fields inherited from class org.jboss.cache.interceptors.base.CommandInterceptor
configuration, log, trace
 
Constructor Summary
DataGravitatorInterceptor()
           
 
Method Summary
 void injectMvccNodeHelper(MVCCNodeHelper helper)
           
protected  boolean nodeDoesNotExist(InvocationContext ctx, Fqn fqn)
           
protected  void wrapIfNeeded(InvocationContext ctx, Fqn fqnToWrap)
           
 
Methods inherited from class org.jboss.cache.interceptors.LegacyDataGravitatorInterceptor
injectComponents, visitCommitCommand, visitGetChildrenNamesCommand, visitGetDataMapCommand, visitGetKeysCommand, visitGetKeyValueCommand, visitGetNodeCommand, visitOptimisticPrepareCommand, visitPrepareCommand, visitRollbackCommand
 
Methods inherited from class org.jboss.cache.interceptors.BaseRpcInterceptor
checkResponses, injectComponents, isLocalModeForced, isSynchronous, isTransactionalAndLocal, replicateCall, replicateCall, replicateCall, replicateCall, skipReplicationOfTransactionMethod
 
Methods inherited from class org.jboss.cache.interceptors.base.CommandInterceptor
getNext, handleDefault, hasNext, invokeNextInterceptor, setNext
 
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
 

Constructor Detail

DataGravitatorInterceptor

public DataGravitatorInterceptor()
Method Detail

injectMvccNodeHelper

public void injectMvccNodeHelper(MVCCNodeHelper helper)

nodeDoesNotExist

protected boolean nodeDoesNotExist(InvocationContext ctx,
                                   Fqn fqn)
Overrides:
nodeDoesNotExist in class LegacyDataGravitatorInterceptor
Parameters:
ctx - invocation context
fqn - 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.