public abstract class BaseRpcInterceptor extends DDAsyncInterceptor
Modifier and Type | Field and Description |
---|---|
protected ComponentRegistry |
componentRegistry |
protected boolean |
defaultSynchronous |
protected RpcManager |
rpcManager |
protected boolean |
trace |
cacheConfiguration
Constructor and Description |
---|
BaseRpcInterceptor() |
Modifier and Type | Method and Description |
---|---|
protected abstract Log |
getLog() |
void |
init() |
protected boolean |
isLocalModeForced(FlagAffectedCommand command) |
protected boolean |
isSynchronous(FlagAffectedCommand command) |
protected boolean |
shouldInvokeRemoteTxCommand(TxInvocationContext ctx) |
protected static void |
transactionRemotelyPrepared(TxInvocationContext ctx) |
handleDefault, visitClearCommand, visitCommand, visitCommitCommand, visitComputeCommand, visitComputeIfAbsentCommand, visitEntrySetCommand, visitEvictCommand, visitGetAllCommand, visitGetCacheEntryCommand, visitGetKeysInGroupCommand, visitGetKeyValueCommand, visitInvalidateCommand, visitInvalidateL1Command, visitKeySetCommand, visitLockControlCommand, visitPrepareCommand, visitPutKeyValueCommand, visitPutMapCommand, visitReadOnlyKeyCommand, visitReadOnlyManyCommand, visitReadWriteKeyCommand, visitReadWriteKeyValueCommand, visitReadWriteManyCommand, visitReadWriteManyEntriesCommand, visitRemoveCommand, visitReplaceCommand, visitRollbackCommand, visitSizeCommand, visitUnknownCommand, visitWriteOnlyKeyCommand, visitWriteOnlyKeyValueCommand, visitWriteOnlyManyCommand, visitWriteOnlyManyEntriesCommand
asyncInvokeNext, asyncInvokeNext, asyncInvokeNext, asyncValue, delayedNull, delayedValue, delayedValue, invokeNext, invokeNextAndExceptionally, invokeNextAndFinally, invokeNextAndHandle, invokeNextThenAccept, invokeNextThenApply, isSuccessfullyDone, makeStage, setNextInterceptor, valueOrException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visitRemoveExpiredCommand
protected final boolean trace
protected RpcManager rpcManager
protected ComponentRegistry componentRegistry
protected boolean defaultSynchronous
protected abstract Log getLog()
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)
Copyright © 2021 JBoss by Red Hat. All rights reserved.