Class CoherenceCacheEntry<K,V>
- java.lang.Object
 - 
- com.tangosol.coherence.jcache.common.CoherenceCacheEntry<K,V>
 
 
- 
- Type Parameters:
 K- the type of keysV- the type of values
- All Implemented Interfaces:
 javax.cache.Cache.Entry<K,V>
public class CoherenceCacheEntry<K,V> extends Object implements javax.cache.Cache.Entry<K,V>
ACache.Entryimplementation.- Since:
 - Coherence 12.1.3
 - Author:
 - jf 2014.11.06
 
 
- 
- 
Constructor Summary
Constructors Constructor Description CoherenceCacheEntry(Map.Entry<K,V> entry)Constructs aCoherenceCacheEntrygiven aMap.Entry.CoherenceCacheEntry(K key, V value)Constructs aCoherenceCacheEntrygiven a key and valueCoherenceCacheEntry(K key, V value, V oldValue)Constructs aCoherenceCacheEntrygiven a key, value and previous value. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)KgetKey()VgetOldValue()Obtains the old value for the entry.VgetValue()inthashCode()<T> Tunwrap(Class<T> clazz) 
 - 
 
- 
- 
Constructor Detail
- 
CoherenceCacheEntry
public CoherenceCacheEntry(Map.Entry<K,V> entry)
Constructs aCoherenceCacheEntrygiven aMap.Entry.- Parameters:
 entry- the entry
 
- 
CoherenceCacheEntry
public CoherenceCacheEntry(K key, V value)
Constructs aCoherenceCacheEntrygiven a key and value- Parameters:
 key- the key of the entryvalue- the value of the entry
 
- 
CoherenceCacheEntry
public CoherenceCacheEntry(K key, V value, V oldValue)
Constructs aCoherenceCacheEntrygiven a key, value and previous value.- Parameters:
 key- the key of the entryvalue- the value of the entryoldValue- the previous value of the entry
 
 - 
 
 -