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 CacheLoaderInterceptor
activation, cacheLoads, cacheMisses, entryFactory, isLocalCache, nonBlockingExecutor, notifier, persistenceManagerFields inherited from class BaseAsyncInterceptor
cacheConfiguration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected booleanskipLoadForWriteCommand(WriteCommand cmd, Object key, InvocationContext ctx) Methods inherited from class CacheLoaderInterceptor
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
-
ClusteredCacheLoaderInterceptor
public ClusteredCacheLoaderInterceptor()
-
-
Method Details
-
skipLoadForWriteCommand
- Overrides:
skipLoadForWriteCommandin classCacheLoaderInterceptor<K,V>
-
canLoad
- Overrides:
canLoadin classCacheLoaderInterceptor<K,V>
-