public class BiasedEntryWrappingInterceptor extends RetryingEntryWrappingInterceptor
cdl, distributionManagercacheConfiguration| 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, wrapEntriesForPrepareAndApplyhandleDefault, visitCommand, visitEntrySetCommand, visitKeySetCommand, visitLockControlCommand, visitRollbackCommand, visitSizeCommand, visitUnknownCommandasyncInvokeNext, asyncInvokeNext, asyncInvokeNext, asyncValue, delayedNull, delayedValue, delayedValue, invokeNext, invokeNextAndExceptionally, invokeNextAndFinally, invokeNextAndHandle, invokeNextThenAccept, invokeNextThenApply, isSuccessfullyDone, makeStage, setNextInterceptor, valueOrExceptionpublic void inject(BiasManager biasManager)
protected boolean canRead(DataCommand command)
canRead in class EntryWrappingInterceptorprotected boolean canReadKey(Object key)
canReadKey in class EntryWrappingInterceptorprotected Object setSkipRemoteGetsAndInvokeNextForDataCommand(InvocationContext ctx, DataWriteCommand command, CompletionStage<Void> delay)
EntryWrappingInterceptorsetSkipRemoteGetsAndInvokeNextForDataCommand in class RetryingEntryWrappingInterceptorprotected Object setSkipRemoteGetsAndInvokeNextForManyEntriesCommand(InvocationContext ctx, WriteCommand command, CompletionStage<Void> delay)
EntryWrappingInterceptorsetSkipRemoteGetsAndInvokeNextForManyEntriesCommand in class RetryingEntryWrappingInterceptorCopyright © 2022 JBoss by Red Hat. All rights reserved.