Package org.infinispan.interceptors.impl
Class BiasedEntryWrappingInterceptor
java.lang.Object
org.infinispan.interceptors.BaseAsyncInterceptor
org.infinispan.interceptors.DDAsyncInterceptor
org.infinispan.interceptors.impl.EntryWrappingInterceptor
org.infinispan.interceptors.impl.RetryingEntryWrappingInterceptor
org.infinispan.interceptors.impl.BiasedEntryWrappingInterceptor
- All Implemented Interfaces:
Visitor,AsyncInterceptor
-
Field Summary
Fields inherited from class org.infinispan.interceptors.impl.EntryWrappingInterceptor
cdl, distributionManagerFields inherited from class org.infinispan.interceptors.BaseAsyncInterceptor
cacheConfiguration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanRead(DataCommand command) protected booleancanReadKey(Object key) voidinject(BiasManager biasManager) protected ObjectsetSkipRemoteGetsAndInvokeNextForDataCommand(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 ObjectsetSkipRemoteGetsAndInvokeNextForManyEntriesCommand(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.Methods inherited from class org.infinispan.interceptors.impl.EntryWrappingInterceptor
commitContextEntries, commitContextEntry, start, visitClearCommand, visitCommitCommand, visitComputeCommand, visitComputeIfAbsentCommand, visitEvictCommand, visitGetAllCommand, visitGetCacheEntryCommand, visitGetKeyValueCommand, visitInvalidateCommand, visitInvalidateL1Command, visitIracPutKeyValueCommand, visitPrepareCommand, visitPutKeyValueCommand, visitPutMapCommand, visitReadOnlyKeyCommand, visitReadOnlyManyCommand, visitReadWriteKeyCommand, visitReadWriteKeyValueCommand, visitReadWriteManyCommand, visitReadWriteManyEntriesCommand, visitRemoveCommand, visitRemoveExpiredCommand, visitReplaceCommand, visitWriteOnlyKeyCommand, visitWriteOnlyKeyValueCommand, visitWriteOnlyManyCommand, visitWriteOnlyManyEntriesCommand, wrapEntriesForPrepareAndApply, wrapEntryIfNeededMethods inherited from class org.infinispan.interceptors.DDAsyncInterceptor
handleDefault, visitCommand, visitEntrySetCommand, visitKeySetCommand, visitLockControlCommand, visitRollbackCommand, visitSizeCommand, visitTouchCommand, visitUnknownCommandMethods inherited from class org.infinispan.interceptors.BaseAsyncInterceptor
asyncInvokeNext, asyncInvokeNext, asyncInvokeNext, asyncValue, delayedNull, delayedValue, delayedValue, invokeNext, invokeNextAndExceptionally, invokeNextAndFinally, invokeNextAndHandle, invokeNextThenAccept, invokeNextThenApply, isSuccessfullyDone, makeStage, setNextInterceptor, valueOrException
-
Constructor Details
-
BiasedEntryWrappingInterceptor
public BiasedEntryWrappingInterceptor()
-
-
Method Details
-
inject
-
canRead
- Overrides:
canReadin classEntryWrappingInterceptor
-
canReadKey
- Overrides:
canReadKeyin classEntryWrappingInterceptor
-
setSkipRemoteGetsAndInvokeNextForDataCommand
protected Object setSkipRemoteGetsAndInvokeNextForDataCommand(InvocationContext ctx, DataWriteCommand command, CompletionStage<Void> delay) Description copied from class:EntryWrappingInterceptorLocks the value for the keys accessed by the command to avoid being override from a remote get.- Overrides:
setSkipRemoteGetsAndInvokeNextForDataCommandin classRetryingEntryWrappingInterceptor
-
setSkipRemoteGetsAndInvokeNextForManyEntriesCommand
protected Object setSkipRemoteGetsAndInvokeNextForManyEntriesCommand(InvocationContext ctx, WriteCommand command, CompletionStage<Void> delay) Description copied from class:EntryWrappingInterceptorLocks the value for the keys accessed by the command to avoid being override from a remote get.- Overrides:
setSkipRemoteGetsAndInvokeNextForManyEntriesCommandin classRetryingEntryWrappingInterceptor
-