|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StoreEventSink<K,V>
Interface on which Store
operations are to record events.
Method Summary | |
---|---|
void |
created(K key,
V value)
Indicates a mapping was created. |
void |
evicted(K key,
V value)
Indicates a mapping was evicted. |
void |
expired(K key,
V value)
Indicates the mapping was expired. |
void |
removed(K key,
V value)
Indicates the mapping was removed. |
void |
updated(K key,
V oldValue,
V newValue)
Indicates the mapping was updated. |
Method Detail |
---|
void removed(K key, V value)
key
- removed keyvalue
- removed valuevoid updated(K key, V oldValue, V newValue)
key
- the updated keyoldValue
- the old valuenewValue
- the new valuevoid expired(K key, V value)
key
- the expired keyvalue
- the expired valuevoid created(K key, V value)
key
- the created keyvalue
- the created valuevoid evicted(K key, V value)
key
- the evicted keyvalue
- the evicted value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |