Class InvalidationCacheWriterInterceptor
java.lang.Object
org.infinispan.interceptors.BaseAsyncInterceptor
org.infinispan.interceptors.DDAsyncInterceptor
org.infinispan.interceptors.impl.JmxStatsCommandInterceptor
org.infinispan.interceptors.impl.CacheWriterInterceptor
org.infinispan.interceptors.impl.InvalidationCacheWriterInterceptor
- All Implemented Interfaces:
Visitor, AsyncInterceptor, JmxStatisticsExposer
Extends the
CacheWriterInterceptor to add logic for CacheType.INVALIDATION.
With invalidation, the RemoveCommand should always try to remove from persistence, even if the originator
does not have the data in memory. The removing non-existing value logic has an optimization that skips the
persistence removal; it is disabled in this interceptor.
- Since:
- 16.0
-
Field Summary
Fields inherited from class CacheWriterInterceptor
handlePutMapCommandReturn, persistenceManagerFields inherited from class BaseAsyncInterceptor
cacheConfiguration -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class CacheWriterInterceptor
commitModifications, getLog, getWritesToTheStores, handlePutMapCommandReturn, isProperWriter, isStoreEnabled, resetStatistics, skipSharedStores, start, store, visitClearCommand, visitCommitCommand, visitComputeCommand, visitComputeIfAbsentCommand, visitIracPutKeyValueCommand, visitPrepareCommand, visitPutKeyValueCommand, visitPutMapCommand, visitReadWriteKeyCommand, visitReadWriteKeyValueCommand, visitReadWriteManyCommand, visitReadWriteManyEntriesCommand, visitRemoveCommand, visitReplaceCommand, visitWriteOnlyKeyCommand, visitWriteOnlyKeyValueCommand, visitWriteOnlyManyCommand, visitWriteOnlyManyEntriesCommandMethods inherited from class JmxStatsCommandInterceptor
getStatisticsEnabled, onStart, setStatisticsEnabledMethods inherited from class DDAsyncInterceptor
handleDefault, visitCommand, visitEntrySetCommand, visitEvictCommand, visitGetAllCommand, visitGetCacheEntryCommand, visitGetKeyValueCommand, visitInvalidateCommand, visitInvalidateL1Command, visitKeySetCommand, visitLockControlCommand, visitReadOnlyKeyCommand, visitReadOnlyManyCommand, visitRollbackCommand, visitSizeCommand, visitTouchCommandMethods inherited from class BaseAsyncInterceptor
asyncInvokeNext, asyncInvokeNext, asyncInvokeNext, asyncValue, delayedNull, delayedValue, delayedValue, invokeNext, invokeNextAndExceptionally, invokeNextAndFinally, invokeNextAndHandle, invokeNextThenAccept, invokeNextThenApply, isSuccessfullyDone, makeStage, setNextInterceptor, valueOrExceptionMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Visitor
visitRemoveExpiredCommand
-
Constructor Details
-
InvalidationCacheWriterInterceptor
public InvalidationCacheWriterInterceptor()
-