public static interface DataContainer.ComputeAction
Modifier and Type | Method and Description |
---|---|
InternalCacheEntry |
compute(Object key,
InternalCacheEntry oldEntry,
InternalEntryFactory factory)
Computes the new value for the key.
|
InternalCacheEntry compute(Object key, InternalCacheEntry oldEntry, InternalEntryFactory factory)
InternalCacheEntry
for the key, null
if the entry is to be removed or oldEntry
is the entry is not to be changed (i.e. not entries are added, removed or touched).Copyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.