| 
 | |||||||||
| 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 value
void updated(K key,
             V oldValue,
             V newValue)
key - the updated keyoldValue - the old valuenewValue - the new value
void expired(K key,
             V value)
key - the expired keyvalue - the expired value
void created(K key,
             V value)
key - the created keyvalue - the created value
void 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 | ||||||||