| Modifier and Type | Field and Description |
|---|---|
| private EventType |
| Access | Constructor and Description |
|---|---|
| public | CacheEntryEvent(Cache<K, V>
the cache that originated the event source, EventType the event type for this event eventType)Constructs a cache entry event from a given cache as source |
| Modifier and Type | Method and Description |
|---|---|
| public final EventType | |
| public abstract V | Returns: the previous value ornull if there was no previous
value or the previous value is not availableReturns the previous value that existed for entry in the cache before modification or removal. |
| public final Cache | getSource()
Overrides java. |
| public abstract V | Returns: the value corresponding to this entryRedeclares javax. |
| public abstract boolean | Returns: true if the old value is definitely availableWhether the old value is available. |
| eventType | back to summary |
|---|---|
| private EventType eventType | |
| CacheEntryEvent | back to summary |
|---|---|
| public CacheEntryEvent(Cache<K, V> source, EventType eventType) Constructs a cache entry event from a given cache as source | |
| getEventType | back to summary |
|---|---|
| public final EventType getEventType() Gets the event type of this event
| |
| getOldValue | back to summary |
|---|---|
| public abstract V getOldValue() Returns the previous value that existed for entry in the cache before
modification or removal.
The old value will be available
for
| |
| getSource | back to summary |
|---|---|
| public final Cache Overrides java. Doc from java. The object on which the Event initially occurred. | |
| getValue | back to summary |
|---|---|
| public abstract V getValue() Redeclares javax. Returns the value stored in the cache when this entry was created or updated.
The value will be available
for
| |
| isOldValueAvailable | back to summary |
|---|---|
| public abstract boolean isOldValueAvailable() Whether the old value is available. The old value will be available
for
| |