public class L1NonTxInterceptor extends BaseRpcInterceptor
| Modifier and Type | Field and Description |
|---|---|
protected ClusteringDependentLogic |
cdl |
protected Configuration |
config |
protected DataContainer |
dataContainer |
protected EntryFactory |
entryFactory |
protected L1Manager |
l1Manager |
protected StateTransferLock |
stateTransferLock |
defaultSynchronous, rpcManagercacheConfiguration| Constructor and Description |
|---|
L1NonTxInterceptor() |
getIgnoreExtraResponseFilter, getSelfDeliverFilter, init, inject, isLocalModeForced, isSyncCommitPhase, isSynchronous, shouldInvokeRemoteTxCommand, shouldTotalOrderRollbackBeInvokedRemotely, totalOrderAnycastPrepare, totalOrderBroadcastPrepare, totalOrderTxCommit, totalOrderTxRollback, transactionRemotelyPreparedgetLockAcquisitionTimeout, getLog, getNext, handleDefault, hasNext, hasSkipLocking, injectConfiguration, invokeNextInterceptor, setNextvisitApplyDeltaCommand, visitClearCommand, visitCollection, visitCommitCommand, visitDistributedExecuteCommand, visitEntrySetCommand, visitEvictCommand, visitInvalidateCommand, visitKeySetCommand, visitLockControlCommand, visitPrepareCommand, visitRollbackCommand, visitSizeCommand, visitUnknownCommand, visitValuesCommandprotected L1Manager l1Manager
protected ClusteringDependentLogic cdl
protected EntryFactory entryFactory
protected DataContainer dataContainer
protected Configuration config
protected StateTransferLock stateTransferLock
public void init(L1Manager l1Manager, ClusteringDependentLogic cdl, EntryFactory entryFactory, DataContainer dataContainer, Configuration config, StateTransferLock stateTransferLock)
public void start()
public Object visitGetKeyValueCommand(InvocationContext ctx, GetKeyValueCommand command) throws Throwable
visitGetKeyValueCommand in interface VisitorvisitGetKeyValueCommand in class AbstractVisitorThrowableprotected Object performCommandWithL1WriteIfAble(InvocationContext ctx, DataCommand command, boolean shouldAlwaysRunNextInterceptor, boolean registerL1) throws Throwable
Throwableprotected Object performL1Lookup(InvocationContext ctx, boolean runInterceptorOnConflict, Object key, DataCommand command) throws Throwable
Throwableprotected boolean skipL1Lookup(LocalFlagAffectedCommand command, Object key)
public Object visitPutKeyValueCommand(InvocationContext ctx, PutKeyValueCommand command) throws Throwable
visitPutKeyValueCommand in interface VisitorvisitPutKeyValueCommand in class AbstractVisitorThrowablepublic Object visitRemoveCommand(InvocationContext ctx, RemoveCommand command) throws Throwable
visitRemoveCommand in interface VisitorvisitRemoveCommand in class AbstractVisitorThrowablepublic Object visitReplaceCommand(InvocationContext ctx, ReplaceCommand command) throws Throwable
visitReplaceCommand in interface VisitorvisitReplaceCommand in class AbstractVisitorThrowablepublic Object visitPutMapCommand(InvocationContext ctx, PutMapCommand command) throws Throwable
visitPutMapCommand in interface VisitorvisitPutMapCommand in class AbstractVisitorThrowablepublic Object visitInvalidateL1Command(InvocationContext ctx, InvalidateL1Command invalidateL1Command) throws Throwable
visitInvalidateL1Command in interface VisitorvisitInvalidateL1Command in class AbstractVisitorThrowableCopyright © 2013 JBoss, a division of Red Hat. All rights reserved.