Class CoherenceCacheEntryEvent<K,V> 
java.lang.Object
java.util.EventObject
javax.cache.event.CacheEntryEvent<K,V>
 
com.tangosol.coherence.jcache.common.CoherenceCacheEntryEvent<K,V> 
- Type Parameters:
 K- the type of keysV- the type of values
- All Implemented Interfaces:
 Serializable,javax.cache.Cache.Entry<K,V> 
public class CoherenceCacheEntryEvent<K,V> 
extends javax.cache.event.CacheEntryEvent<K,V> 
A minimal implementation of the 
CacheEntryEvent.- Since:
 - Coherence 12.1.3
 - Author:
 - jf 2013.10.24
 - See Also:
 
- 
Field Summary
Fields inherited from class java.util.EventObject
source - 
Constructor Summary
ConstructorsConstructorDescriptionCoherenceCacheEntryEvent(javax.cache.Cache<K, V> cache, javax.cache.event.EventType eventType, K key, V value) Constructs aCoherenceCacheEntryEventbased on a specific key and value.CoherenceCacheEntryEvent(javax.cache.Cache<K, V> cache, javax.cache.event.EventType eventType, K key, V value, V oldValue) Constructs aCoherenceCacheEntryEventbased on a specific key, value and old value. - 
Method Summary
Methods inherited from class javax.cache.event.CacheEntryEvent
getEventType, getSource 
- 
Constructor Details
- 
CoherenceCacheEntryEvent
public CoherenceCacheEntryEvent(javax.cache.Cache<K, V> cache, javax.cache.event.EventType eventType, K key, V value) Constructs aCoherenceCacheEntryEventbased on a specific key and value.- Parameters:
 cache- theCacheon which the event occurredeventType- theEventTypefor the eventkey- the key of the eventvalue- the value of the event
 - 
CoherenceCacheEntryEvent
public CoherenceCacheEntryEvent(javax.cache.Cache<K, V> cache, javax.cache.event.EventType eventType, K key, V value, V oldValue) Constructs aCoherenceCacheEntryEventbased on a specific key, value and old value.- Parameters:
 cache- theCacheon which the event occurredeventType- theEventTypefor the eventkey- the key of the eventvalue- the value of the eventoldValue- the old value of the event
 
 - 
 - 
Method Details
- 
getKey
 - 
getValue
Return current value. - 
unwrap
 - 
getOldValue
 - 
isOldValueAvailable
public boolean isOldValueAvailable() - 
toString
- Overrides:
 toStringin classEventObject
 
 -