|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
K - V - public static interface Cache.MutableEntry<K,V>
An accessor and mutator to the underlying Cache
| Method Summary | |
|---|---|
boolean |
exists()
Checks for the existence of the entry in the cache |
void |
remove()
Removes the entry from the Cache |
void |
setValue(V value)
Sets or replaces the value associated with the key If exists() is false and setValue is called
then a mapping is added to the cache visible once the EntryProcessor
completes. |
| Methods inherited from interface javax.cache.Cache.Entry |
|---|
getKey, getValue |
| Method Detail |
|---|
boolean exists()
void remove()
void setValue(V value)
exists() is false and setValue is called
then a mapping is added to the cache visible once the EntryProcessor
completes. Moreover a second invocation of exists()
will return true.
value - the value to update the entry with
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||