public abstract class CacheEntryEvent extends EventObject implements OwnerKeyComposition
CompositeKeyCacheEntryEvent
,
Serialized Formsource
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 type of the event that occurred.
|
abstract Object |
getOldValue()
Returns old value that existed before the the modification that fired the event.
|
Cache |
getSource() |
abstract boolean |
isOldValueAvailable()
Checks whether an old value is available.
|
toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getKey, getOwner
public final Cache getSource()
getSource
in class EventObject
public abstract Object getOldValue()
null
if there was no previous valuepublic abstract boolean isOldValueAvailable()
public final EventType getEventType()
It might be a created, removed, evicted, cleared or some other event.
Copyright © 2024 levigo holding gmbh. All rights reserved.