|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
K
- the type of the keys used to access data within the cacheV
- the type of the values held within the cachepublic interface CacheEvent<K,V>
An event resulting from a mutative Cache
operation.
Method Summary | |
---|---|
K |
getKey()
The key of the mapping affected by the mutative 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()
The type of mutative event |
Method Detail |
---|
EventType getType()
K 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()
Don't ever call back into this cache to perform any further operations!
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |