public class VersionedDistributionInterceptor extends TxDistributionInterceptor
TxDistributionInterceptor that adds logic to handling prepares when entries are
versioned.BaseDistributionInterceptor.ReadManyCommandHelper<C extends VisitableCommand>, BaseDistributionInterceptor.ReadOnlyManyHelperClusteringInterceptor.ClusteredGetAllFutureexpirationManager, isL1Enabled, isReplicated, keyPartitioner, rvrl, timeServicecf, dataContainer, distributionManager, entryFactory, lockManagercomponentRegistry, defaultSynchronous, rpcManagercacheConfiguration| Constructor and Description |
|---|
VersionedDistributionInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected Log |
getLog() |
protected CompletionStage<Object> |
prepareOnAffectedNodes(TxInvocationContext<?> ctx,
PrepareCommand command,
Collection<Address> recipients) |
protected Object[] |
unwrapFunctionalManyResultOnOrigin(InvocationContext ctx,
List<Object> keys,
Object responseValue) |
protected Object |
unwrapFunctionalResultOnOrigin(InvocationContext ctx,
Object key,
Object responseValue) |
protected Object |
wrapFunctionalManyResultOnNonOrigin(InvocationContext ctx,
Collection<?> keys,
Object[] values) |
protected Object |
wrapFunctionalResultOnNonOriginOnReturn(Object rv,
CacheEntry entry) |
protected void |
wrapRemoteEntry(InvocationContext ctx,
Object key,
CacheEntry ice,
boolean isWrite) |
checkTxCommandResponses, configure, handleRemotelyRetrievedKeys, handleTxFunctionalCommand, handleTxWriteManyCommand, handleTxWriteManyEntriesCommand, remoteGetSingleKey, remoteReadOnlyCommand, visitCommitCommand, visitComputeCommand, visitComputeIfAbsentCommand, visitLockControlCommand, visitPrepareCommand, visitPutKeyValueCommand, visitPutMapCommand, visitReadOnlyManyCommand, visitReadWriteKeyCommand, visitReadWriteKeyValueCommand, visitReadWriteManyCommand, visitReadWriteManyEntriesCommand, visitRemoveCommand, visitReplaceCommand, visitRollbackCommand, visitWriteOnlyKeyCommand, visitWriteOnlyKeyValueCommand, visitWriteOnlyManyCommand, visitWriteOnlyManyEntriesCommandcheckTopologyId, handleFunctionalReadManyCommand, handleNonTxWriteCommand, invokeRemotely, primaryReturnHandler, readNeedsRemoteValue, remoteGetMany, retrieveDistributionInfo, visitClearCommand, visitGetAllCommand, visitGetCacheEntryCommand, visitGetKeysInGroupCommand, visitGetKeyValueCommand, visitReadOnlyKeyCommandgetSuccessfulResponseOrFail, unexpectedinit, isLocalModeForced, isSynchronous, shouldInvokeRemoteTxCommand, transactionRemotelyPreparedhandleDefault, visitCommand, visitEntrySetCommand, visitEvictCommand, visitInvalidateCommand, visitInvalidateL1Command, visitKeySetCommand, 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 Log getLog()
getLog in class BaseDistributionInterceptorprotected void wrapRemoteEntry(InvocationContext ctx, Object key, CacheEntry ice, boolean isWrite)
wrapRemoteEntry in class BaseDistributionInterceptorprotected Object wrapFunctionalResultOnNonOriginOnReturn(Object rv, CacheEntry entry)
wrapFunctionalResultOnNonOriginOnReturn in class BaseDistributionInterceptorprotected Object wrapFunctionalManyResultOnNonOrigin(InvocationContext ctx, Collection<?> keys, Object[] values)
wrapFunctionalManyResultOnNonOrigin in class BaseDistributionInterceptorprotected Object[] unwrapFunctionalManyResultOnOrigin(InvocationContext ctx, List<Object> keys, Object responseValue)
unwrapFunctionalManyResultOnOrigin in class BaseDistributionInterceptorprotected Object unwrapFunctionalResultOnOrigin(InvocationContext ctx, Object key, Object responseValue)
unwrapFunctionalResultOnOrigin in class BaseDistributionInterceptorprotected CompletionStage<Object> prepareOnAffectedNodes(TxInvocationContext<?> ctx, PrepareCommand command, Collection<Address> recipients)
prepareOnAffectedNodes in class TxDistributionInterceptorCopyright © 2022 JBoss by Red Hat. All rights reserved.