Package org.infinispan.jcache
Class MutableJCacheEntry<K,V>
- java.lang.Object
-
- org.infinispan.jcache.MutableJCacheEntry<K,V>
-
- Type Parameters:
K
- the type of key maintained by this cache entryV
- the type of value maintained by this cache entry
- All Implemented Interfaces:
javax.cache.Cache.Entry<K,V>
,javax.cache.processor.MutableEntry<K,V>
public final class MutableJCacheEntry<K,V> extends Object implements javax.cache.processor.MutableEntry<K,V>
Infinispan implementation ofMutableEntry
designed to be passed as parameter toEntryProcessor.process(javax.cache.processor.MutableEntry, Object...)
.- Since:
- 5.3
- Author:
- Galder ZamarreƱo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MutableJCacheEntry.Operation
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
exists()
K
getKey()
V
getNewValue()
MutableJCacheEntry.Operation
getOperation()
V
getValue()
void
remove()
void
setValue(V value)
<T> T
unwrap(Class<T> clazz)
-
-
-
Method Detail
-
exists
public boolean exists()
-
remove
public void remove()
-
setValue
public void setValue(V value)
-
getValue
public V getValue()
-
unwrap
public <T> T unwrap(Class<T> clazz)
-
getNewValue
public V getNewValue()
-
getOperation
public MutableJCacheEntry.Operation getOperation()
-
-