public class L1NonTxInterceptor extends BaseRpcInterceptor
| Modifier and Type | Field and Description |
|---|---|
protected ClusteringDependentLogic |
cdl |
protected CommandsFactory |
commandsFactory |
protected InternalDataContainer |
dataContainer |
protected EntryFactory |
entryFactory |
protected KeyPartitioner |
keyPartitioner |
protected L1Manager |
l1Manager |
protected StateTransferLock |
stateTransferLock |
componentRegistry, defaultSynchronous, rpcManagercacheConfiguration| Constructor and Description |
|---|
L1NonTxInterceptor() |
init, isLocalModeForced, isSynchronous, shouldInvokeRemoteTxCommand, transactionRemotelyPreparedhandleDefault, visitClearCommand, visitCommand, visitCommitCommand, visitEntrySetCommand, visitEvictCommand, visitGetAllCommand, visitGetKeysInGroupCommand, visitInvalidateCommand, visitKeySetCommand, visitLockControlCommand, visitPrepareCommand, visitReadOnlyKeyCommand, visitReadOnlyManyCommand, visitRollbackCommand, visitSizeCommand, visitUnknownCommandasyncInvokeNext, asyncInvokeNext, asyncInvokeNext, asyncValue, delayedNull, delayedValue, delayedValue, invokeNext, invokeNextAndExceptionally, invokeNextAndFinally, invokeNextAndHandle, invokeNextThenAccept, invokeNextThenApply, isSuccessfullyDone, makeStage, setNextInterceptor, valueOrExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvisitRemoveExpiredCommandprotected L1Manager l1Manager
protected ClusteringDependentLogic cdl
protected EntryFactory entryFactory
protected CommandsFactory commandsFactory
protected InternalDataContainer dataContainer
protected StateTransferLock stateTransferLock
protected KeyPartitioner keyPartitioner
public void start()
public final Object visitGetKeyValueCommand(InvocationContext ctx, GetKeyValueCommand command) throws Throwable
visitGetKeyValueCommand in interface VisitorvisitGetKeyValueCommand in class DDAsyncInterceptorThrowablepublic final Object visitGetCacheEntryCommand(InvocationContext ctx, GetCacheEntryCommand command) throws Throwable
visitGetCacheEntryCommand in interface VisitorvisitGetCacheEntryCommand in class DDAsyncInterceptorThrowableprotected Object performCommandWithL1WriteIfAble(InvocationContext ctx, DataCommand command, boolean isEntry, boolean shouldAlwaysRunNextInterceptor, boolean registerL1) throws Throwable
Throwableprotected boolean skipL1Lookup(FlagAffectedCommand command, Object key)
public Object visitPutKeyValueCommand(InvocationContext ctx, PutKeyValueCommand command) throws Throwable
visitPutKeyValueCommand in interface VisitorvisitPutKeyValueCommand in class DDAsyncInterceptorThrowablepublic Object visitWriteOnlyKeyCommand(InvocationContext ctx, WriteOnlyKeyCommand command) throws Throwable
visitWriteOnlyKeyCommand in interface VisitorvisitWriteOnlyKeyCommand in class DDAsyncInterceptorThrowablepublic Object visitReadWriteKeyValueCommand(InvocationContext ctx, ReadWriteKeyValueCommand command) throws Throwable
visitReadWriteKeyValueCommand in interface VisitorvisitReadWriteKeyValueCommand in class DDAsyncInterceptorThrowablepublic Object visitReadWriteKeyCommand(InvocationContext ctx, ReadWriteKeyCommand command) throws Throwable
visitReadWriteKeyCommand in interface VisitorvisitReadWriteKeyCommand in class DDAsyncInterceptorThrowablepublic Object visitWriteOnlyManyEntriesCommand(InvocationContext ctx, WriteOnlyManyEntriesCommand command) throws Throwable
visitWriteOnlyManyEntriesCommand in interface VisitorvisitWriteOnlyManyEntriesCommand in class DDAsyncInterceptorThrowablepublic Object visitWriteOnlyKeyValueCommand(InvocationContext ctx, WriteOnlyKeyValueCommand command) throws Throwable
visitWriteOnlyKeyValueCommand in interface VisitorvisitWriteOnlyKeyValueCommand in class DDAsyncInterceptorThrowablepublic Object visitWriteOnlyManyCommand(InvocationContext ctx, WriteOnlyManyCommand command) throws Throwable
visitWriteOnlyManyCommand in interface VisitorvisitWriteOnlyManyCommand in class DDAsyncInterceptorThrowablepublic Object visitReadWriteManyCommand(InvocationContext ctx, ReadWriteManyCommand command) throws Throwable
visitReadWriteManyCommand in interface VisitorvisitReadWriteManyCommand in class DDAsyncInterceptorThrowablepublic Object visitReadWriteManyEntriesCommand(InvocationContext ctx, ReadWriteManyEntriesCommand command) throws Throwable
visitReadWriteManyEntriesCommand in interface VisitorvisitReadWriteManyEntriesCommand in class DDAsyncInterceptorThrowablepublic Object visitRemoveCommand(InvocationContext ctx, RemoveCommand command) throws Throwable
visitRemoveCommand in interface VisitorvisitRemoveCommand in class DDAsyncInterceptorThrowablepublic Object visitReplaceCommand(InvocationContext ctx, ReplaceCommand command) throws Throwable
visitReplaceCommand in interface VisitorvisitReplaceCommand in class DDAsyncInterceptorThrowablepublic Object visitComputeCommand(InvocationContext ctx, ComputeCommand command) throws Throwable
visitComputeCommand in interface VisitorvisitComputeCommand in class DDAsyncInterceptorThrowablepublic Object visitComputeIfAbsentCommand(InvocationContext ctx, ComputeIfAbsentCommand command) throws Throwable
visitComputeIfAbsentCommand in interface VisitorvisitComputeIfAbsentCommand in class DDAsyncInterceptorThrowablepublic Object visitPutMapCommand(InvocationContext ctx, PutMapCommand command) throws Throwable
visitPutMapCommand in interface VisitorvisitPutMapCommand in class DDAsyncInterceptorThrowablepublic Object visitInvalidateL1Command(InvocationContext ctx, InvalidateL1Command invalidateL1Command) throws Throwable
visitInvalidateL1Command in interface VisitorvisitInvalidateL1Command in class DDAsyncInterceptorThrowableprotected Log getLog()
getLog in class BaseRpcInterceptorCopyright © 2022 JBoss by Red Hat. All rights reserved.