Class JCacheEntryEvent<K,V>
- java.lang.Object
-
- java.util.EventObject
-
- javax.cache.event.CacheEntryEvent<K,V>
-
- com.github.benmanes.caffeine.jcache.event.JCacheEntryEvent<K,V>
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Iterable<javax.cache.event.CacheEntryEvent<? extends K,? extends V>>,javax.cache.Cache.Entry<K,V>
final class JCacheEntryEvent<K,V> extends javax.cache.event.CacheEntryEvent<K,V> implements java.lang.Iterable<javax.cache.event.CacheEntryEvent<? extends K,? extends V>>A cache event dispatched to a listener.
-
-
Field Summary
Fields Modifier and Type Field Description private booleanhasOldValueprivate Kkeyprivate @Nullable VnewValueprivate @Nullable VoldValueprivate static longserialVersionUID
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KgetKey()@Nullable VgetOldValue()@Nullable VgetValue()booleanisOldValueAvailable()java.util.Iterator<javax.cache.event.CacheEntryEvent<? extends K,? extends V>>iterator()<T> Tunwrap(java.lang.Class<T> clazz)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
key
private final K key
-
hasOldValue
private final boolean hasOldValue
-
oldValue
private final @Nullable V oldValue
-
newValue
private final @Nullable V newValue
-
-