|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Cache notification interface. We can register with a cache (Cache#addListener(CacheListener)
) to receive notifications when
modifications are made to the cache.
Method Summary | |
void |
contentsCleared()
Called after the entire contents of the map have been deleted |
void |
contentsInitialized(Map m)
Called after the entire contents of the map have been set. |
void |
entryRemoved(Object key,
Object old_value)
Called after an entry has been removed. |
void |
entrySet(Object key,
Object value,
Object old_value)
Called after an entry has been set. |
Method Detail |
public void contentsInitialized(Map m)
entrySet(Object,Object,Object)
on each
value
m
- The new map. Its entries will overwrite whatever is already in
the map.public void contentsCleared()
public void entrySet(Object key, Object value, Object old_value)
key
- The new keyvalue
- The new valueold_value
- The value previously associated with key
public void entryRemoved(Object key, Object old_value)
key
- The key identifying the entryold_value
- The old value associated with key
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |