K
- the type of keyV
- the type of valuepublic abstract class CacheEntryEvent<K,V> extends EventObject implements Cache.Entry<K,V>
source
Constructor and Description |
---|
CacheEntryEvent(Cache source,
EventType eventType)
Constructs a cache entry event from a given cache as source
|
Modifier and Type | Method and Description |
---|---|
EventType |
getEventType()
Gets the event type of this event
|
abstract V |
getOldValue()
Returns the previous value, that existed prior to the
modification of the Entry value.
|
Cache |
getSource() |
abstract boolean |
isOldValueAvailable()
Whether the old value is available.
|
toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getKey, getValue, unwrap
public final Cache getSource()
getSource
in class EventObject
public abstract V getOldValue()
null
if there was no previous valuepublic abstract boolean isOldValueAvailable()
public final EventType getEventType()
Copyright © 2014. All Rights Reserved.