public class NonTxIracLocalSiteInterceptor extends AbstractIracLocalSiteInterceptor
The primary owner job is to generate a new IracMetadata
for the write and store in the WriteCommand
.
If the command is successful, the IracMetadata
is stored in the context entry.
The backup owners just handle the updates from the primary owner and extract the IracMetadata
to stored in
the context entry.
cacheConfiguration
Constructor and Description |
---|
NonTxIracLocalSiteInterceptor() |
getCacheTopology, getDistributionInfo, getDistributionInfo, getOwnership, getOwnership, getSegment, isIracState, isNormalWriteCommand, isPrimaryOwner, isWriteOwner, setIracMetadata, setMetadataToCacheEntry, streamKeysFromCommand, streamKeysFromModifications, streamKeysFromModifications
handleDefault, visitClearCommand, visitCommand, visitEntrySetCommand, visitEvictCommand, visitGetAllCommand, visitGetCacheEntryCommand, visitGetKeysInGroupCommand, visitGetKeyValueCommand, visitInvalidateCommand, visitInvalidateL1Command, visitKeySetCommand, visitLockControlCommand, visitReadOnlyKeyCommand, visitReadOnlyManyCommand, visitSizeCommand, visitUnknownCommand
asyncInvokeNext, asyncInvokeNext, asyncInvokeNext, asyncValue, delayedNull, delayedValue, delayedValue, invokeNext, invokeNextAndExceptionally, invokeNextAndFinally, invokeNextAndHandle, invokeNextThenAccept, invokeNextThenApply, isSuccessfullyDone, makeStage, setNextInterceptor, valueOrException
public Object visitPutKeyValueCommand(InvocationContext ctx, PutKeyValueCommand command)
visitPutKeyValueCommand
in interface Visitor
visitPutKeyValueCommand
in class DDAsyncInterceptor
public Object visitRemoveCommand(InvocationContext ctx, RemoveCommand command)
visitRemoveCommand
in interface Visitor
visitRemoveCommand
in class DDAsyncInterceptor
public Object visitReplaceCommand(InvocationContext ctx, ReplaceCommand command)
visitReplaceCommand
in interface Visitor
visitReplaceCommand
in class DDAsyncInterceptor
public Object visitComputeIfAbsentCommand(InvocationContext ctx, ComputeIfAbsentCommand command)
visitComputeIfAbsentCommand
in interface Visitor
visitComputeIfAbsentCommand
in class DDAsyncInterceptor
public Object visitComputeCommand(InvocationContext ctx, ComputeCommand command)
visitComputeCommand
in interface Visitor
visitComputeCommand
in class DDAsyncInterceptor
public Object visitPutMapCommand(InvocationContext ctx, PutMapCommand command)
visitPutMapCommand
in interface Visitor
visitPutMapCommand
in class DDAsyncInterceptor
public Object visitPrepareCommand(TxInvocationContext ctx, PrepareCommand command)
visitPrepareCommand
in interface Visitor
visitPrepareCommand
in class DDAsyncInterceptor
public Object visitCommitCommand(TxInvocationContext ctx, CommitCommand command)
visitCommitCommand
in interface Visitor
visitCommitCommand
in class DDAsyncInterceptor
public Object visitRollbackCommand(TxInvocationContext ctx, RollbackCommand command)
visitRollbackCommand
in interface Visitor
visitRollbackCommand
in class DDAsyncInterceptor
public Object visitWriteOnlyKeyCommand(InvocationContext ctx, WriteOnlyKeyCommand command)
visitWriteOnlyKeyCommand
in interface Visitor
visitWriteOnlyKeyCommand
in class DDAsyncInterceptor
public Object visitReadWriteKeyValueCommand(InvocationContext ctx, ReadWriteKeyValueCommand command)
visitReadWriteKeyValueCommand
in interface Visitor
visitReadWriteKeyValueCommand
in class DDAsyncInterceptor
public Object visitReadWriteKeyCommand(InvocationContext ctx, ReadWriteKeyCommand command)
visitReadWriteKeyCommand
in interface Visitor
visitReadWriteKeyCommand
in class DDAsyncInterceptor
public Object visitWriteOnlyManyEntriesCommand(InvocationContext ctx, WriteOnlyManyEntriesCommand command)
visitWriteOnlyManyEntriesCommand
in interface Visitor
visitWriteOnlyManyEntriesCommand
in class DDAsyncInterceptor
public Object visitWriteOnlyKeyValueCommand(InvocationContext ctx, WriteOnlyKeyValueCommand command)
visitWriteOnlyKeyValueCommand
in interface Visitor
visitWriteOnlyKeyValueCommand
in class DDAsyncInterceptor
public Object visitWriteOnlyManyCommand(InvocationContext ctx, WriteOnlyManyCommand command)
visitWriteOnlyManyCommand
in interface Visitor
visitWriteOnlyManyCommand
in class DDAsyncInterceptor
public Object visitReadWriteManyCommand(InvocationContext ctx, ReadWriteManyCommand command)
visitReadWriteManyCommand
in interface Visitor
visitReadWriteManyCommand
in class DDAsyncInterceptor
public Object visitReadWriteManyEntriesCommand(InvocationContext ctx, ReadWriteManyEntriesCommand command)
visitReadWriteManyEntriesCommand
in interface Visitor
visitReadWriteManyEntriesCommand
in class DDAsyncInterceptor
public Object visitRemoveExpiredCommand(InvocationContext ctx, RemoveExpiredCommand command)
Copyright © 2021 JBoss by Red Hat. All rights reserved.