public abstract class BaseRpcInterceptor extends CommandInterceptor
Modifier and Type | Field and Description |
---|---|
protected boolean |
defaultSynchronous |
protected RpcManager |
rpcManager |
cacheConfiguration
Constructor and Description |
---|
BaseRpcInterceptor() |
Modifier and Type | Method and Description |
---|---|
void |
init() |
void |
inject(RpcManager rpcManager) |
protected boolean |
isLocalModeForced(FlagAffectedCommand command) |
protected boolean |
isSyncCommitPhase() |
protected boolean |
isSynchronous(FlagAffectedCommand command) |
protected boolean |
shouldInvokeRemoteTxCommand(TxInvocationContext ctx) |
protected static void |
transactionRemotelyPrepared(TxInvocationContext ctx) |
getLockAcquisitionTimeout, getLog, getNext, handleDefault, hasNext, hasSkipLocking, injectConfiguration, invokeNextInterceptor, setNext
visitApplyDeltaCommand, visitClearCommand, visitCollection, visitCommitCommand, visitDistributedExecuteCommand, visitEntrySetCommand, visitEvictCommand, visitGetKeyValueCommand, visitInvalidateCommand, visitInvalidateL1Command, visitKeySetCommand, visitLockControlCommand, visitPrepareCommand, visitPutKeyValueCommand, visitPutMapCommand, visitRemoveCommand, visitReplaceCommand, visitRollbackCommand, visitSizeCommand, visitUnknownCommand, visitValuesCommand
protected RpcManager rpcManager
protected boolean defaultSynchronous
public void inject(RpcManager rpcManager)
public void init()
protected final boolean isSynchronous(FlagAffectedCommand command)
protected final boolean isLocalModeForced(FlagAffectedCommand command)
protected boolean shouldInvokeRemoteTxCommand(TxInvocationContext ctx)
protected static void transactionRemotelyPrepared(TxInvocationContext ctx)
protected final boolean isSyncCommitPhase()
Copyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.