public class PassivationCacheLoaderInterceptor<K,V> extends CacheLoaderInterceptor<K,V>
activation, cacheLoads, cacheMisses, entryFactory, nonBlockingExecutor, notifier, persistenceManager
cacheConfiguration
Constructor and Description |
---|
PassivationCacheLoaderInterceptor() |
Modifier and Type | Method and 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
|
canLoad, disableStore, getCacheLoaderLoads, getCacheLoaderMisses, getStores, hasSkipLoadFlag, isConditional, loadIfNeeded, loadInContext, resetStatistics, sendNotification, skipLoadForWriteCommand, start, visitComputeCommand, visitComputeIfAbsentCommand, visitEntrySetCommand, visitGetAllCommand, visitGetCacheEntryCommand, visitGetKeysInGroupCommand, visitGetKeyValueCommand, visitKeySetCommand, visitPutKeyValueCommand, visitReadOnlyKeyCommand, visitReadOnlyManyCommand, visitReadWriteKeyCommand, visitReadWriteKeyValueCommand, visitReadWriteManyCommand, visitReadWriteManyEntriesCommand, visitRemoveCommand, visitReplaceCommand, visitSizeCommand
getStatisticsEnabled, onStart, setStatisticsEnabled
handleDefault, visitClearCommand, visitCommand, visitCommitCommand, visitEvictCommand, visitInvalidateCommand, visitInvalidateL1Command, visitLockControlCommand, visitPrepareCommand, visitPutMapCommand, visitRollbackCommand, visitUnknownCommand, visitWriteOnlyKeyCommand, visitWriteOnlyKeyValueCommand, visitWriteOnlyManyCommand, visitWriteOnlyManyEntriesCommand
asyncInvokeNext, asyncInvokeNext, asyncInvokeNext, asyncValue, delayedNull, delayedValue, delayedValue, invokeNext, invokeNextAndExceptionally, invokeNextAndFinally, invokeNextAndHandle, invokeNextThenAccept, invokeNextThenApply, isSuccessfullyDone, makeStage, setNextInterceptor, valueOrException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
loadAndStoreInDataContainer
visitRemoveExpiredCommand
public CompletionStage<InternalCacheEntry<K,V>> loadAndStoreInDataContainer(InvocationContext ctx, Object key, int segment, FlagAffectedCommand cmd)
EntryLoader
loadAndStoreInDataContainer
in interface EntryLoader<K,V>
loadAndStoreInDataContainer
in class CacheLoaderInterceptor<K,V>
ctx
- context that generated this requestkey
- key to load from the storesegment
- segment of the key to loadcmd
- the command that generated this load requestCopyright © 2021 JBoss by Red Hat. All rights reserved.