K - the type of the Cache keysV - the type of the Cache valuespublic class PassThroughCacheEntryEvent<K,V>
extends javax.cache.event.CacheEntryEvent<K,V>
CacheEntryEvent based on an underlying
 Coherence MapEvent.source| Constructor and Description | 
|---|
PassThroughCacheEntryEvent(javax.cache.Cache<K,V> cache,
                          javax.cache.event.EventType type,
                          MapEvent event)
Constructs a  
PassThroughCacheEntryEvent. | 
| Modifier and Type | Method and Description | 
|---|---|
static <K,V> PassThroughCacheEntryEvent<K,V> | 
from(MapEvent event)
Creates a  
PassThroughCacheEntryEvent based on a MapEvent | 
K | 
getKey()  | 
V | 
getOldValue()  | 
V | 
getValue()  | 
boolean | 
isOldValueAvailable()  | 
<T> T | 
unwrap(Class<T> clz)  | 
toStringpublic PassThroughCacheEntryEvent(javax.cache.Cache<K,V> cache, javax.cache.event.EventType type, MapEvent event)
PassThroughCacheEntryEvent.cache - the Cache on which the CacheEntryEvent occurredtype - the EventTypeevent - the underlying MapEventpublic K getKey()
public V getValue()
public <T> T unwrap(Class<T> clz)
public boolean isOldValueAvailable()
public V getOldValue()
public static <K,V> PassThroughCacheEntryEvent<K,V> from(MapEvent event)
PassThroughCacheEntryEvent based on a MapEventK - the key typeV - the value typeevent - the MapEventPassThroughCacheEntryEvent