public class L1NonTxInterceptor extends BaseRpcInterceptor
Modifier and Type | Field and Description |
---|---|
protected ClusteringDependentLogic |
cdl |
protected CommandsFactory |
commandsFactory |
protected Configuration |
config |
protected DataContainer |
dataContainer |
protected EntryFactory |
entryFactory |
protected L1Manager |
l1Manager |
protected StateTransferLock |
stateTransferLock |
defaultSynchronous, rpcManager
cacheConfiguration
Constructor and Description |
---|
L1NonTxInterceptor() |
getIgnoreExtraResponseFilter, getSelfDeliverFilter, init, inject, isLocalModeForced, isSyncCommitPhase, isSynchronous, shouldInvokeRemoteTxCommand, shouldTotalOrderRollbackBeInvokedRemotely, totalOrderAnycastPrepare, totalOrderBroadcastPrepare, totalOrderTxCommit, totalOrderTxRollback, transactionRemotelyPrepared
getLockAcquisitionTimeout, getLog, getNext, handleDefault, hasNext, hasSkipLocking, injectConfiguration, invokeNextInterceptor, setNext
visitApplyDeltaCommand, visitClearCommand, visitCollection, visitCommitCommand, visitDistributedExecuteCommand, visitEntrySetCommand, visitEvictCommand, visitInvalidateCommand, visitKeySetCommand, visitLockControlCommand, visitPrepareCommand, visitRollbackCommand, visitSizeCommand, visitUnknownCommand, visitValuesCommand
protected L1Manager l1Manager
protected ClusteringDependentLogic cdl
protected EntryFactory entryFactory
protected CommandsFactory commandsFactory
protected DataContainer dataContainer
protected Configuration config
protected StateTransferLock stateTransferLock
public void init(L1Manager l1Manager, ClusteringDependentLogic cdl, EntryFactory entryFactory, DataContainer dataContainer, Configuration config, StateTransferLock stateTransferLock, CommandsFactory commandsFactory)
public void start()
public Object visitGetKeyValueCommand(InvocationContext ctx, GetKeyValueCommand command) throws Throwable
visitGetKeyValueCommand
in interface Visitor
visitGetKeyValueCommand
in class AbstractVisitor
Throwable
protected Object performCommandWithL1WriteIfAble(InvocationContext ctx, DataCommand command, boolean shouldAlwaysRunNextInterceptor, boolean registerL1) throws Throwable
Throwable
protected Object performL1Lookup(InvocationContext ctx, boolean runInterceptorOnConflict, Object key, DataCommand command) throws Throwable
Throwable
protected boolean skipL1Lookup(LocalFlagAffectedCommand command, Object key)
public Object visitPutKeyValueCommand(InvocationContext ctx, PutKeyValueCommand command) throws Throwable
visitPutKeyValueCommand
in interface Visitor
visitPutKeyValueCommand
in class AbstractVisitor
Throwable
public Object visitRemoveCommand(InvocationContext ctx, RemoveCommand command) throws Throwable
visitRemoveCommand
in interface Visitor
visitRemoveCommand
in class AbstractVisitor
Throwable
public Object visitReplaceCommand(InvocationContext ctx, ReplaceCommand command) throws Throwable
visitReplaceCommand
in interface Visitor
visitReplaceCommand
in class AbstractVisitor
Throwable
public Object visitPutMapCommand(InvocationContext ctx, PutMapCommand command) throws Throwable
visitPutMapCommand
in interface Visitor
visitPutMapCommand
in class AbstractVisitor
Throwable
public Object visitInvalidateL1Command(InvocationContext ctx, InvalidateL1Command invalidateL1Command) throws Throwable
visitInvalidateL1Command
in interface Visitor
visitInvalidateL1Command
in class AbstractVisitor
Throwable
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.