Class EntryEvent<K,V>
- java.lang.Object
-
- java.util.EventObject
-
- javax.cache.event.CacheEntryEvent<K,V>
-
- org.cache2k.jcache.provider.event.EntryEvent<K,V>
-
- All Implemented Interfaces:
Serializable
,Iterable<javax.cache.event.CacheEntryEvent<? extends K,? extends V>>
,javax.cache.Cache.Entry<K,V>
- Direct Known Subclasses:
EntryEventWithOldValue
public class EntryEvent<K,V> extends javax.cache.event.CacheEntryEvent<K,V> implements Iterable<javax.cache.event.CacheEntryEvent<? extends K,? extends V>>
Entry events without original value, for created, expired and removed events.- Author:
- Jens Wilke
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description EntryEvent(javax.cache.Cache source, javax.cache.event.EventType eventType, K key, V value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description K
getKey()
V
getOldValue()
V
getValue()
boolean
isOldValueAvailable()
Iterator<javax.cache.event.CacheEntryEvent<? extends K,? extends V>>
iterator()
<T> T
unwrap(Class<T> clazz)
-
Methods inherited from class java.util.EventObject
toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-