public static interface DataContainer.ComputeAction<K,V>
| Modifier and Type | Method and Description |
|---|---|
InternalCacheEntry<K,V> |
compute(K key,
InternalCacheEntry<K,V> oldEntry,
InternalEntryFactory factory)
Computes the new value for the key.
|
InternalCacheEntry<K,V> compute(K key, InternalCacheEntry<K,V> 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).