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.
|
java.lang.Iterable<V> |
getAllPresentValues() |
<T> T |
getCastValue(java.lang.Object key) |
V |
getValue(K key) |
V |
getValueIfPresent(K key) |
void |
invalidate(java.lang.Object key)
Invalidate the entry with the given key.
|
long |
size() |
<T> T getCastValue(java.lang.Object key)
key - V getValueIfPresent(K key)
key - long size()
void clear()
void invalidate(java.lang.Object key)
key - java.lang.Iterable<V> getAllPresentValues()
void forEachValue(java.util.function.Consumer<? super V> consumer)
consumer - the given actionCopyright © 2014. All Rights Reserved.