public interface ComputingCache<K,V>
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Remove all cache entries.
|
void |
forEachValue(java.util.function.Consumer<? super V> consumer)
Performs the given action for each cached value.
|
Iterable<V> |
getAllPresentValues() |
<T> T |
getCastValue(Object key) |
V |
getValue(K key) |
V |
getValueIfPresent(K key) |
void |
invalidate(Object key)
Invalidate the entry with the given key.
|
long |
size() |
<T> T getCastValue(Object key)
key - V getValueIfPresent(K key)
key - long size()
void clear()
void invalidate(Object key)
key - void forEachValue(java.util.function.Consumer<? super V> consumer)
consumer - the given actionCopyright © 2015. All Rights Reserved.