Package org.infinispan.interceptors.impl
Class ClusteredCacheLoaderInterceptor<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.ClusteredCacheLoaderInterceptor<K,V>
- All Implemented Interfaces:
Visitor,AsyncInterceptor,JmxStatisticsExposer,PersistenceManager.StoreChangeListener,EntryLoader<K,V>
- Direct Known Subclasses:
PassivationClusteredCacheLoaderInterceptor
The same as a regular cache loader interceptor, except that it contains additional logic to force loading from the
cache loader if needed on a remote node, in certain conditions.
- Since:
- 9.0
- Author:
- Manik Surtani
-
Field Summary
Fields inherited from class org.infinispan.interceptors.impl.CacheLoaderInterceptor
activation, cacheLoads, cacheMisses, entryFactory, nonBlockingExecutor, notifier, persistenceManagerFields inherited from class org.infinispan.interceptors.BaseAsyncInterceptor
cacheConfiguration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected booleanskipLoadForWriteCommand(WriteCommand cmd, Object key, InvocationContext ctx) Methods inherited from class org.infinispan.interceptors.impl.CacheLoaderInterceptor
disableStore, getCacheLoaderLoads, getCacheLoaderMisses, getStores, hasSkipLoadFlag, isConditional, 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 org.infinispan.interceptors.impl.JmxStatsCommandInterceptor
getStatisticsEnabled, onStart, setStatisticsEnabledMethods inherited from class org.infinispan.interceptors.DDAsyncInterceptor
handleDefault, visitClearCommand, visitCommand, visitCommitCommand, visitEvictCommand, visitInvalidateCommand, visitInvalidateL1Command, visitLockControlCommand, visitPrepareCommand, visitPutMapCommand, visitRollbackCommand, visitTouchCommand, visitUnknownCommand, visitWriteOnlyKeyCommand, visitWriteOnlyKeyValueCommand, visitWriteOnlyManyCommand, visitWriteOnlyManyEntriesCommandMethods inherited from class org.infinispan.interceptors.BaseAsyncInterceptor
asyncInvokeNext, asyncInvokeNext, asyncInvokeNext, asyncValue, delayedNull, delayedValue, delayedValue, invokeNext, invokeNextAndExceptionally, invokeNextAndFinally, invokeNextAndHandle, invokeNextThenAccept, invokeNextThenApply, isSuccessfullyDone, makeStage, setNextInterceptor, valueOrExceptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.persistence.util.EntryLoader
loadAndStoreInDataContainerMethods inherited from interface org.infinispan.commands.Visitor
visitRemoveExpiredCommand
-
Constructor Details
-
ClusteredCacheLoaderInterceptor
public ClusteredCacheLoaderInterceptor()
-
-
Method Details
-
skipLoadForWriteCommand
- Overrides:
skipLoadForWriteCommandin classCacheLoaderInterceptor<K,V>
-
canLoad
- Overrides:
canLoadin classCacheLoaderInterceptor<K,V>
-