K
- the type of key maintained by this cache entryV
- the type of value maintained by this cache entrypublic final class MutableJCacheEntry<K,V> extends Object implements javax.cache.processor.MutableEntry<K,V>
MutableEntry
designed to
be passed as parameter to EntryProcessor.process(javax.cache.processor.MutableEntry, Object...)
.Modifier and Type | Class and Description |
---|---|
static class |
MutableJCacheEntry.Operation |
Constructor and Description |
---|
MutableJCacheEntry(org.infinispan.commons.api.BasicCache<K,V> cache,
org.infinispan.commons.api.BasicCache<K,V> cacheWithoutStats,
K key,
V value) |
Modifier and Type | Method and Description |
---|---|
boolean |
exists() |
K |
getKey() |
V |
getNewValue() |
MutableJCacheEntry.Operation |
getOperation() |
V |
getValue() |
void |
remove() |
void |
setValue(V value) |
<T> T |
unwrap(Class<T> clazz) |
public boolean exists()
public void remove()
public void setValue(V value)
public <T> T unwrap(Class<T> clazz)
public V getNewValue()
public MutableJCacheEntry.Operation getOperation()
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.