public abstract class BaseStateTransferInterceptor extends DDAsyncInterceptor
| Modifier and Type | Class and Description |
|---|---|
protected static class |
BaseStateTransferInterceptor.LostDataVisitor |
| Modifier and Type | Field and Description |
|---|---|
protected StateTransferLock |
stateTransferLock |
cacheConfiguration| Constructor and Description |
|---|
BaseStateTransferInterceptor() |
handleDefault, visitClearCommand, visitCommand, visitCommitCommand, visitComputeCommand, visitComputeIfAbsentCommand, visitEntrySetCommand, visitEvictCommand, visitInvalidateCommand, visitInvalidateL1Command, visitKeySetCommand, visitLockControlCommand, visitPrepareCommand, visitPutKeyValueCommand, visitPutMapCommand, visitReadWriteKeyCommand, visitReadWriteKeyValueCommand, visitReadWriteManyCommand, visitReadWriteManyEntriesCommand, visitRemoveCommand, visitReplaceCommand, visitRollbackCommand, visitSizeCommand, visitUnknownCommand, visitWriteOnlyKeyCommand, visitWriteOnlyKeyValueCommand, visitWriteOnlyManyCommand, visitWriteOnlyManyEntriesCommandasyncInvokeNext, 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 StateTransferLock stateTransferLock
public void start()
public Object visitGetKeysInGroupCommand(InvocationContext ctx, GetKeysInGroupCommand command) throws Throwable
visitGetKeysInGroupCommand in interface VisitorvisitGetKeysInGroupCommand in class DDAsyncInterceptorThrowableprotected final void logRetry(int currentTopologyId,
TopologyAffectedCommand cmd)
protected final int currentTopologyId()
protected final void updateTopologyId(TopologyAffectedCommand command)
protected <T extends VisitableCommand> Object retryWhenDone(CompletableFuture<Void> future, int topologyId, InvocationContext ctx, T command, InvocationFinallyFunction<T> callback)
public Object visitGetKeyValueCommand(InvocationContext ctx, GetKeyValueCommand command) throws Throwable
visitGetKeyValueCommand in interface VisitorvisitGetKeyValueCommand in class DDAsyncInterceptorThrowablepublic Object visitGetCacheEntryCommand(InvocationContext ctx, GetCacheEntryCommand command) throws Throwable
visitGetCacheEntryCommand in interface VisitorvisitGetCacheEntryCommand in class DDAsyncInterceptorThrowablepublic Object visitGetAllCommand(InvocationContext ctx, GetAllCommand command) throws Throwable
visitGetAllCommand in interface VisitorvisitGetAllCommand in class DDAsyncInterceptorThrowableprotected <C extends VisitableCommand & TopologyAffectedCommand & FlagAffectedCommand> Object handleReadCommand(InvocationContext ctx, C command)
protected int getNewTopologyId(Throwable ce, int currentTopologyId, TopologyAffectedCommand command)
public Object visitReadOnlyKeyCommand(InvocationContext ctx, ReadOnlyKeyCommand command) throws Throwable
visitReadOnlyKeyCommand in interface VisitorvisitReadOnlyKeyCommand in class DDAsyncInterceptorThrowablepublic Object visitReadOnlyManyCommand(InvocationContext ctx, ReadOnlyManyCommand command) throws Throwable
visitReadOnlyManyCommand in interface VisitorvisitReadOnlyManyCommand in class DDAsyncInterceptorThrowableprotected abstract Log getLog()
Copyright © 2022 JBoss by Red Hat. All rights reserved.