K
- key typeV
- value typepublic interface EntryLoader<K,V>
PersistenceManager
and store those entries into the
DataContainer
if necessary.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
|
default CompletionStage<InternalCacheEntry<K,V>> |
loadAndStoreInDataContainer(K key,
int segment)
Load and store the entry if present in the data container, returning the entry in the CompletionStage.
|
CompletionStage<InternalCacheEntry<K,V>> loadAndStoreInDataContainer(InvocationContext ctx, Object key, int segment, FlagAffectedCommand cmd)
ctx
- context that generated this requestkey
- key to load from the storesegment
- segment of the key to loadcmd
- the command that generated this load requestdefault CompletionStage<InternalCacheEntry<K,V>> loadAndStoreInDataContainer(K key, int segment)
key
- key to load from the storesegment
- segment of the key to loadCopyright © 2021 JBoss by Red Hat. All rights reserved.