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:
Serializable, 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 Iterable<javax.cache.event.CacheEntryEvent<? extends K, ? extends V>>
A cache event dispatched to a listener.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final Kprivate final @Nullable Vprivate final @Nullable Vprivate static final longFields inherited from class EventObject
source -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class javax.cache.event.CacheEntryEvent
getEventType, getSourceMethods inherited from class EventObject
toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
key
-
hasOldValue
private final boolean hasOldValue -
oldValue
-
newValue
-
-
Constructor Details
-
JCacheEntryEvent
-
-
Method Details
-
getKey
-
getValue
-
getOldValue
-
isOldValueAvailable
-
unwrap
-
iterator
-