|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
K - key of the map entryV - value of the map entry.public interface EntryListener<K,V>
Map Entry listener to get notified when a map entry
is added, removed, updated or evicted. Events will fire as a result
of operations carried out via the IMap interface. Events will not fire, for example,
for an entry that comes into the Map via the MapLoader lifecycle.
IMap.addEntryListener(EntryListener, boolean)| Method Summary | |
|---|---|
void |
entryAdded(EntryEvent<K,V> event)
Invoked when an entry is added. |
void |
entryEvicted(EntryEvent<K,V> event)
Invoked when an entry is evicted. |
void |
entryRemoved(EntryEvent<K,V> event)
Invoked when an entry is removed. |
void |
entryUpdated(EntryEvent<K,V> event)
Invoked when an entry is updated. |
void |
mapCleared(MapEvent event)
Invoked when all entries are removed by IMap.clear(). |
void |
mapEvicted(MapEvent event)
Invoked when all entries are evicted by IMap.evictAll(). |
| Method Detail |
|---|
void entryAdded(EntryEvent<K,V> event)
event - the event invoked when an entry is addedvoid entryRemoved(EntryEvent<K,V> event)
event - the event invoked when an entry is removedvoid entryUpdated(EntryEvent<K,V> event)
event - the event invoked when an entry is updatedvoid entryEvicted(EntryEvent<K,V> event)
event - the event invoked when an entry is evictedvoid mapEvicted(MapEvent event)
IMap.evictAll().
event - the map event invoked when all entries are evicted by IMap.evictAll()void mapCleared(MapEvent event)
IMap.clear().
event - the map event invoked when all entries are removed by IMap.clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||