javax.cache.Cache.Entry.
Mutable entries are used by EntryProcessors to mutate
Cache.Entrys in place, atomically.
EntryProcessor
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public V | Returns: the value corresponding to this entryRedeclares javax. |
| public void | |
| public void | setValue(V
the value to update the entry with value)Sets or replaces the value associated with the key. |
| exists | back to summary |
|---|---|
| public boolean exists() Checks for the existence of the entry in the cache
| |
| getValue | back to summary |
|---|---|
| public V getValue() Redeclares javax. Returns the value stored in the cache.
If the cache is configured to use read-through, and this method
would return null because the entry is missing from the cache,
the Cache's
| |
| remove | back to summary |
|---|---|
| public void remove() Removes the entry from the Cache.
This has the same semantics as calling | |
| setValue | back to summary |
|---|---|
| public void setValue(V value) Sets or replaces the value associated with the key.
If
| |