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.Cache.MutableEntry<K,V>
public final class MutableJCacheEntry<K,V>
- extends Object
- implements javax.cache.Cache.MutableEntry<K,V>
Infinispan implementation of Cache.MutableEntry
designed to
be passed as parameter to Cache.EntryProcessor#process(javax.cache.Cache.MutableEntry)
.
- Since:
- 5.3
- Author:
- Galder ZamarreƱo
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MutableJCacheEntry
public MutableJCacheEntry(AdvancedCache<K,V> cache,
K key,
V value)
exists
public boolean exists()
- Specified by:
exists
in interface javax.cache.Cache.MutableEntry<K,V>
remove
public void remove()
- Specified by:
remove
in interface javax.cache.Cache.MutableEntry<K,V>
setValue
public void setValue(V value)
- Specified by:
setValue
in interface javax.cache.Cache.MutableEntry<K,V>
getKey
public K getKey()
- Specified by:
getKey
in interface javax.cache.Cache.Entry<K,V>
getValue
public V getValue()
- Specified by:
getValue
in interface javax.cache.Cache.Entry<K,V>
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.