K - The key classV - The value classpublic final class TCacheJSR107MutableEntry<K,V> extends TCacheJSR107Entry<K,V> implements javax.cache.processor.MutableEntry<K,V>
MutableEntry. Any mutable changes have no direct impact, but
they will be applied after after the EntryProcessor has returned.| Modifier and Type | Class and Description |
|---|---|
static class |
TCacheJSR107MutableEntry.Operation |
| Constructor and Description |
|---|
TCacheJSR107MutableEntry(K key,
V value,
javax.cache.integration.CacheLoader<K,V> loader)
Creates an instance based on the native tCache entry plus the key.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists() |
V |
getValue() |
TCacheJSR107MutableEntry.Operation |
operation()
Returns the operation that should be performed on this MutableEntry after the EntryProcessor has returned.
|
void |
remove() |
void |
setValue(V value) |
getKey, unwrappublic boolean exists()
public void remove()
public V getValue()
public void setValue(V value)
public TCacheJSR107MutableEntry.Operation operation()
TCacheJSR107MutableEntry.Operation.NOP, which means no operation
should take placeCopyright © 2018 trivago. All rights reserved.