Package org.infinispan.interceptors.impl
Class BaseRpcInterceptor
- java.lang.Object
-
- org.infinispan.interceptors.BaseAsyncInterceptor
-
- org.infinispan.interceptors.DDAsyncInterceptor
-
- org.infinispan.interceptors.impl.BaseRpcInterceptor
-
- All Implemented Interfaces:
Visitor,AsyncInterceptor
- Direct Known Subclasses:
ClusteringInterceptor,InvalidationInterceptor,L1LastChanceInterceptor,L1NonTxInterceptor
public abstract class BaseRpcInterceptor extends DDAsyncInterceptor
Acts as a base for all RPC calls- Since:
- 9.0
- Author:
- Manik Surtani (manik@jboss.org), Mircea.Markus@jboss.com
-
-
Field Summary
Fields Modifier and Type Field Description protected ComponentRegistrycomponentRegistryprotected booleandefaultSynchronousprotected RpcManagerrpcManagerprotected booleantrace-
Fields inherited from class org.infinispan.interceptors.BaseAsyncInterceptor
cacheConfiguration
-
-
Constructor Summary
Constructors Constructor Description BaseRpcInterceptor()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract LoggetLog()voidinit()protected booleanisLocalModeForced(FlagAffectedCommand command)protected booleanisSynchronous(FlagAffectedCommand command)protected booleanshouldInvokeRemoteTxCommand(TxInvocationContext ctx)protected static voidtransactionRemotelyPrepared(TxInvocationContext ctx)-
Methods inherited from class org.infinispan.interceptors.DDAsyncInterceptor
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
-
Methods inherited from class org.infinispan.interceptors.BaseAsyncInterceptor
asyncInvokeNext, asyncInvokeNext, asyncInvokeNext, asyncValue, delayedNull, delayedValue, delayedValue, invokeNext, invokeNextAndExceptionally, invokeNextAndFinally, invokeNextAndHandle, invokeNextThenAccept, invokeNextThenApply, isSuccessfullyDone, makeStage, setNextInterceptor, valueOrException
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.infinispan.commands.Visitor
visitRemoveExpiredCommand
-
-
-
-
Field Detail
-
trace
protected final boolean trace
-
rpcManager
protected RpcManager rpcManager
-
componentRegistry
protected ComponentRegistry componentRegistry
-
defaultSynchronous
protected boolean defaultSynchronous
-
-
Method Detail
-
getLog
protected abstract Log getLog()
-
init
public void init()
-
isSynchronous
protected final boolean isSynchronous(FlagAffectedCommand command)
-
isLocalModeForced
protected final boolean isLocalModeForced(FlagAffectedCommand command)
-
shouldInvokeRemoteTxCommand
protected boolean shouldInvokeRemoteTxCommand(TxInvocationContext ctx)
-
transactionRemotelyPrepared
protected static void transactionRemotelyPrepared(TxInvocationContext ctx)
-
-