|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
K - the key type of the source cacheV - the value type of the source cachepublic interface CacheEvent<K,V>
An event resulting from a mutative Cache operation.
| Method Summary | |
|---|---|
K |
getKey()
The key of the mapping affected by this event. |
V |
getNewValue()
The mapped value immediately after the mutative event occurred. |
V |
getOldValue()
The mapped value immediately before the mutative event occurred. |
Cache<K,V> |
getSource()
Deprecated. |
EventType |
getType()
Gets the EventType of this event. |
| Method Detail |
|---|
EventType getType()
EventType of this event.
EventTypeK getKey()
V getNewValue()
If the mutative event removes the mapping then null is returned.
V getOldValue()
If the mutative event created the mapping then null is returned.
@Deprecated Cache<K,V> getSource()
Calling back into the cache to perform operations is not supported. It is only provided as a way to identify the event source.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||