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 ofMutableEntrydesigned 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 classMutableJCacheEntry.Operation
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexists()KgetKey()VgetNewValue()MutableJCacheEntry.OperationgetOperation()VgetValue()voidremove()voidsetValue(V value)<T> Tunwrap(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()
-
-