K
- key of the map entryV
- value of the map entry.public interface EntryListener<K,V> extends EventListener
Modifier and Type | Method and Description |
---|---|
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() . |
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()
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.