public abstract class ClusteringInterceptor extends BaseRpcInterceptor
Modifier and Type | Class and Description |
---|---|
protected class |
ClusteringInterceptor.ClusteredGetAllFuture
ClusteringInterceptor.ClusteredGetAllFuture.completeExceptionally(Throwable) must be called from synchronized block since we must not complete
the future (exceptionally) when we're accessing the context - if there was an exception and we would retry,
the context could be accessed concurrently by dangling handlers and retry execution (that does not synchronize
on the same future). |
Modifier and Type | Field and Description |
---|---|
protected CommandsFactory |
cf |
protected InternalDataContainer |
dataContainer |
protected DistributionManager |
distributionManager |
protected EntryFactory |
entryFactory |
protected LockManager |
lockManager |
componentRegistry, defaultSynchronous, rpcManager, trace
cacheConfiguration
Constructor and Description |
---|
ClusteringInterceptor() |
Modifier and Type | Method and Description |
---|---|
protected static SuccessfulResponse |
getSuccessfulResponseOrFail(Map<Address,Response> responseMap,
CompletableFuture<?> future,
Consumer<Response> cacheNotFound) |
protected static RuntimeException |
unexpected(Address sender,
Response response) |
getLog, init, isLocalModeForced, isSynchronous, shouldInvokeRemoteTxCommand, transactionRemotelyPrepared
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 CommandsFactory cf
protected EntryFactory entryFactory
protected LockManager lockManager
protected InternalDataContainer dataContainer
protected DistributionManager distributionManager
protected static SuccessfulResponse getSuccessfulResponseOrFail(Map<Address,Response> responseMap, CompletableFuture<?> future, Consumer<Response> cacheNotFound)
protected static RuntimeException unexpected(Address sender, Response response)
Copyright © 2021 JBoss by Red Hat. All rights reserved.