K
- the type of key.V
- the type of value.public class CacheEntryEventImpl<K,V>
extends javax.cache.event.CacheEntryEvent<K,V>
CacheEntryListener
.
This implementation will provide source cache, the event type, key, new value, old value and availability.
CacheEntryEvent
,
CacheEntryCreatedListener.onCreated(Iterable)
,
CacheEntryUpdatedListener.onUpdated(Iterable)
,
CacheEntryRemovedListener.onRemoved(Iterable)
,
CacheEntryExpiredListener.onExpired(Iterable)
,
Serialized Formsource
Constructor and Description |
---|
CacheEntryEventImpl(ICache<K,V> source,
javax.cache.event.EventType eventType,
K key,
V newValue,
V oldValue) |
Modifier and Type | Method and Description |
---|---|
K |
getKey() |
V |
getOldValue() |
V |
getValue() |
boolean |
isOldValueAvailable() |
String |
toString() |
<T> T |
unwrap(Class<T> clazz) |
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.