Package org.infinispan.interceptors.impl
Class PassivationClusteredCacheLoaderInterceptor<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>
-
- org.infinispan.interceptors.impl.PassivationClusteredCacheLoaderInterceptor<K,V>
-
- All Implemented Interfaces:
Visitor,AsyncInterceptor,JmxStatisticsExposer,EntryLoader<K,V>
public class PassivationClusteredCacheLoaderInterceptor<K,V> extends ClusteredCacheLoaderInterceptor<K,V>
-
-
Field Summary
-
Fields inherited from class org.infinispan.interceptors.impl.CacheLoaderInterceptor
activation, cacheLoads, cacheMisses, entryFactory, nonBlockingExecutor, notifier, persistenceManager
-
Fields inherited from class org.infinispan.interceptors.BaseAsyncInterceptor
cacheConfiguration
-
-
Constructor Summary
Constructors Constructor Description PassivationClusteredCacheLoaderInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletionStage<InternalCacheEntry<K,V>>loadAndStoreInDataContainer(InvocationContext ctx, Object key, int segment, FlagAffectedCommand cmd)Load and store the entry if present in the data container, returning the entry in the CompletionStage-
Methods inherited from class org.infinispan.interceptors.impl.ClusteredCacheLoaderInterceptor
canLoad, skipLoadForWriteCommand
-
Methods inherited from class org.infinispan.interceptors.impl.CacheLoaderInterceptor
disableStore, getCacheLoaderLoads, getCacheLoaderMisses, getStores, hasSkipLoadFlag, isConditional, loadIfNeeded, loadInContext, resetStatistics, sendNotification, start, visitComputeCommand, visitComputeIfAbsentCommand, visitEntrySetCommand, visitGetAllCommand, visitGetCacheEntryCommand, visitGetKeysInGroupCommand, visitGetKeyValueCommand, visitKeySetCommand, visitPutKeyValueCommand, visitReadOnlyKeyCommand, visitReadOnlyManyCommand, visitReadWriteKeyCommand, visitReadWriteKeyValueCommand, visitReadWriteManyCommand, visitReadWriteManyEntriesCommand, visitRemoveCommand, visitReplaceCommand, visitSizeCommand
-
Methods inherited from class org.infinispan.interceptors.impl.JmxStatsCommandInterceptor
getStatisticsEnabled, onStart, setStatisticsEnabled
-
Methods inherited from class org.infinispan.interceptors.DDAsyncInterceptor
handleDefault, visitClearCommand, visitCommand, visitCommitCommand, visitEvictCommand, visitInvalidateCommand, visitInvalidateL1Command, visitLockControlCommand, visitPrepareCommand, visitPutMapCommand, visitRollbackCommand, visitUnknownCommand, visitWriteOnlyKeyCommand, visitWriteOnlyKeyValueCommand, visitWriteOnlyManyCommand, visitWriteOnlyManyEntriesCommand
-
Methods inherited from class org.infinispan.interceptors.BaseAsyncInterceptor
asyncInvokeNext, asyncInvokeNext, asyncInvokeNext, asyncValue, delayedNull, delayedValue, delayedValue, invokeNext, invokeNextAndExceptionally, invokeNextAndFinally, invokeNextAndHandle, invokeNextThenAccept, invokeNextThenApply, isSuccessfullyDone, makeStage, setNextInterceptor, valueOrException
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.infinispan.persistence.util.EntryLoader
loadAndStoreInDataContainer
-
Methods inherited from interface org.infinispan.commands.Visitor
visitRemoveExpiredCommand
-
-
-
-
Method Detail
-
loadAndStoreInDataContainer
public CompletionStage<InternalCacheEntry<K,V>> loadAndStoreInDataContainer(InvocationContext ctx, Object key, int segment, FlagAffectedCommand cmd)
Description copied from interface:EntryLoaderLoad and store the entry if present in the data container, returning the entry in the CompletionStage- Specified by:
loadAndStoreInDataContainerin interfaceEntryLoader<K,V>- Overrides:
loadAndStoreInDataContainerin classCacheLoaderInterceptor<K,V>- Parameters:
ctx- context that generated this requestkey- key to load from the storesegment- segment of the key to loadcmd- the command that generated this load request- Returns:
- stage that when complete contains the loaded entry. If the entry is non null the entry is also written into the underlying data container
-
-