void |
Cache.put(K key,
V value) |
Associates the given value to the given key in this Cache.
|
V |
Cache.putIfAbsent(K key,
V value) |
Maps the specified key to the specified value in this cache, unless a non-expired mapping
already exists.
|
void |
Cache.remove(K key) |
Removes the value, if any, associated with the provided key.
|
boolean |
Cache.remove(K key,
V value) |
Removes the entry for a key only if currently mapped to the given value
and the entry is not expired.
|
V |
Cache.replace(K key,
V value) |
Replaces the entry for a key only if currently mapped to some value and the entry is not expired.
|
boolean |
Cache.replace(K key,
V oldValue,
V newValue) |
Replaces the entry for a key only if currently mapped to the given value
and the entry is not expired.
|