Class InvalidationCacheLoaderInterceptor<K,V>
java.lang.Object
org.infinispan.interceptors.BaseAsyncInterceptor
org.infinispan.interceptors.DDAsyncInterceptor
org.infinispan.interceptors.impl.JmxStatsCommandInterceptor
org.infinispan.interceptors.impl.CacheLoaderInterceptor<K,V>
org.infinispan.interceptors.impl.InvalidationCacheLoaderInterceptor<K,V>
- All Implemented Interfaces:
Visitor, AsyncInterceptor, JmxStatisticsExposer, PersistenceManager.StoreChangeListener, EntryLoader<K,V>
A
CacheLoaderInterceptor extension to add CacheType.INVALIDATION specific logic to load data from
persistence.
With invalidation mode, all nodes must read the data from persistence (if the WriteCommand needs it) when
executing the command locally.
- Since:
- 16.0
-
Field Summary
Fields inherited from class CacheLoaderInterceptor
activation, cacheLoads, cacheMisses, entryFactory, isLocalCache, nonBlockingExecutor, notifier, persistenceManagerFields inherited from class BaseAsyncInterceptor
cacheConfiguration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanskipLoadForWriteCommand(WriteCommand cmd, Object key, InvocationContext ctx) Methods inherited from class CacheLoaderInterceptor
canLoad, disableStore, getCacheLoaderLoads, getCacheLoaderMisses, getStores, hasSkipLoadFlag, loadAndStoreInDataContainer, loadIfNeeded, loadInContext, resetStatistics, sendNotification, start, storeChanged, visitComputeCommand, visitComputeIfAbsentCommand, visitEntrySetCommand, visitGetAllCommand, visitGetCacheEntryCommand, visitGetKeyValueCommand, visitIracPutKeyValueCommand, visitKeySetCommand, visitPutKeyValueCommand, visitReadOnlyKeyCommand, visitReadOnlyManyCommand, visitReadWriteKeyCommand, visitReadWriteKeyValueCommand, visitReadWriteManyCommand, visitReadWriteManyEntriesCommand, visitRemoveCommand, visitReplaceCommand, visitSizeCommandMethods inherited from class JmxStatsCommandInterceptor
getStatisticsEnabled, onStart, setStatisticsEnabledMethods inherited from class DDAsyncInterceptor
handleDefault, visitClearCommand, visitCommand, visitCommitCommand, visitEvictCommand, visitInvalidateCommand, visitInvalidateL1Command, visitLockControlCommand, visitPrepareCommand, visitPutMapCommand, visitRollbackCommand, visitTouchCommand, visitWriteOnlyKeyCommand, visitWriteOnlyKeyValueCommand, visitWriteOnlyManyCommand, visitWriteOnlyManyEntriesCommandMethods 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 EntryLoader
loadAndStoreInDataContainerMethods inherited from interface Visitor
visitRemoveExpiredCommand
-
Constructor Details
-
InvalidationCacheLoaderInterceptor
public InvalidationCacheLoaderInterceptor()
-
-
Method Details
-
skipLoadForWriteCommand
- Overrides:
skipLoadForWriteCommandin classCacheLoaderInterceptor<K,V>
-