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
Acts as a base for all RPC calls
- Since:
- 9.0
- Author:
- Manik Surtani (manik@jboss.org), Mircea.Markus@jboss.com
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ComponentRegistryprotected booleanprotected RpcManagerFields inherited from class org.infinispan.interceptors.BaseAsyncInterceptor
cacheConfiguration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract LoggetLog()voidinit()protected final booleanisLocalModeForced(FlagAffectedCommand command) protected final booleanisSynchronous(FlagAffectedCommand command) protected booleanprotected booleanshouldLoad(InvocationContext ctx, FlagAffectedCommand command, DistributionInfo info) protected static voidMethods inherited from class org.infinispan.interceptors.DDAsyncInterceptor
handleDefault, visitClearCommand, visitCommand, visitCommitCommand, visitComputeCommand, visitComputeIfAbsentCommand, visitEntrySetCommand, visitEvictCommand, visitGetAllCommand, visitGetCacheEntryCommand, visitGetKeyValueCommand, visitInvalidateCommand, visitInvalidateL1Command, visitIracPutKeyValueCommand, visitKeySetCommand, visitLockControlCommand, visitPrepareCommand, visitPutKeyValueCommand, visitPutMapCommand, visitReadOnlyKeyCommand, visitReadOnlyManyCommand, visitReadWriteKeyCommand, visitReadWriteKeyValueCommand, visitReadWriteManyCommand, visitReadWriteManyEntriesCommand, visitRemoveCommand, visitReplaceCommand, visitRollbackCommand, visitSizeCommand, visitTouchCommand, visitUnknownCommand, visitWriteOnlyKeyCommand, visitWriteOnlyKeyValueCommand, visitWriteOnlyManyCommand, visitWriteOnlyManyEntriesCommandMethods inherited from class org.infinispan.interceptors.BaseAsyncInterceptor
asyncInvokeNext, asyncInvokeNext, asyncInvokeNext, asyncValue, delayedNull, delayedValue, delayedValue, invokeNext, invokeNextAndExceptionally, invokeNextAndFinally, invokeNextAndHandle, invokeNextThenAccept, invokeNextThenApply, isSuccessfullyDone, makeStage, setNextInterceptor, valueOrExceptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.commands.Visitor
visitRemoveExpiredCommand
-
Field Details
-
rpcManager
-
componentRegistry
-
defaultSynchronous
protected boolean defaultSynchronous
-
-
Constructor Details
-
BaseRpcInterceptor
public BaseRpcInterceptor()
-
-
Method Details
-
getLog
-
init
public void init() -
isSynchronous
-
isLocalModeForced
-
shouldInvokeRemoteTxCommand
-
transactionRemotelyPrepared
-
shouldLoad
protected boolean shouldLoad(InvocationContext ctx, FlagAffectedCommand command, DistributionInfo info)
-