public class BiasedEntryWrappingInterceptor extends RetryingEntryWrappingInterceptor
cdl, distributionManager
cacheConfiguration
Constructor and Description |
---|
BiasedEntryWrappingInterceptor() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canRead(DataCommand command) |
protected boolean |
canReadKey(Object key) |
void |
inject(BiasManager biasManager) |
protected Object |
setSkipRemoteGetsAndInvokeNextForDataCommand(InvocationContext ctx,
DataWriteCommand command,
CompletionStage<Void> delay)
Locks the value for the keys accessed by the command to avoid being override from a remote get.
|
protected Object |
setSkipRemoteGetsAndInvokeNextForManyEntriesCommand(InvocationContext ctx,
WriteCommand command,
CompletionStage<Void> delay)
Locks the value for the keys accessed by the command to avoid being override from a remote get.
|
commitContextEntries, commitContextEntry, start, visitClearCommand, visitCommitCommand, visitComputeCommand, visitComputeIfAbsentCommand, visitEvictCommand, visitGetAllCommand, visitGetCacheEntryCommand, visitGetKeysInGroupCommand, visitGetKeyValueCommand, visitInvalidateCommand, visitInvalidateL1Command, visitPrepareCommand, visitPutKeyValueCommand, visitPutMapCommand, visitReadOnlyKeyCommand, visitReadOnlyManyCommand, visitReadWriteKeyCommand, visitReadWriteKeyValueCommand, visitReadWriteManyCommand, visitReadWriteManyEntriesCommand, visitRemoveCommand, visitRemoveExpiredCommand, visitReplaceCommand, visitWriteOnlyKeyCommand, visitWriteOnlyKeyValueCommand, visitWriteOnlyManyCommand, visitWriteOnlyManyEntriesCommand, wrapEntriesForPrepareAndApply
handleDefault, visitCommand, visitEntrySetCommand, visitKeySetCommand, visitLockControlCommand, visitRollbackCommand, visitSizeCommand, visitUnknownCommand
asyncInvokeNext, asyncInvokeNext, asyncInvokeNext, asyncValue, delayedNull, delayedValue, delayedValue, invokeNext, invokeNextAndExceptionally, invokeNextAndFinally, invokeNextAndHandle, invokeNextThenAccept, invokeNextThenApply, isSuccessfullyDone, makeStage, setNextInterceptor, valueOrException
public void inject(BiasManager biasManager)
protected boolean canRead(DataCommand command)
canRead
in class EntryWrappingInterceptor
protected boolean canReadKey(Object key)
canReadKey
in class EntryWrappingInterceptor
protected Object setSkipRemoteGetsAndInvokeNextForDataCommand(InvocationContext ctx, DataWriteCommand command, CompletionStage<Void> delay)
EntryWrappingInterceptor
setSkipRemoteGetsAndInvokeNextForDataCommand
in class RetryingEntryWrappingInterceptor
protected Object setSkipRemoteGetsAndInvokeNextForManyEntriesCommand(InvocationContext ctx, WriteCommand command, CompletionStage<Void> delay)
EntryWrappingInterceptor
setSkipRemoteGetsAndInvokeNextForManyEntriesCommand
in class RetryingEntryWrappingInterceptor
Copyright © 2021 JBoss by Red Hat. All rights reserved.