K - key of the map entryV - value of the map entry.public class EntryAdapter<K,V> extends Object implements EntryListener<K,V>
MapListener.MapListener, 
EntryListener| Constructor and Description | 
|---|
| EntryAdapter() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | entryAdded(EntryEvent<K,V> event)Invoked upon addition of an entry. | 
| void | entryEvicted(EntryEvent<K,V> event)Invoked upon eviction of an entry. | 
| void | entryRemoved(EntryEvent<K,V> event)Invoked upon removal of an entry. | 
| void | entryUpdated(EntryEvent<K,V> event)Invoked upon update of an entry. | 
| 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 | onEntryEvent(EntryEvent<K,V> event)This method is called when an one of the methods of the  EntryListeneris not
 overridden. | 
| void | onMapEvent(MapEvent event)This method is called when an one of the methods of the  EntryListeneris not
 overridden. | 
public void entryAdded(EntryEvent<K,V> event)
EntryAddedListenerentryAdded in interface EntryAddedListener<K,V>event - the event invoked when an entry is addedpublic void entryRemoved(EntryEvent<K,V> event)
EntryRemovedListenerentryRemoved in interface EntryRemovedListener<K,V>event - the event invoked when an entry is removedpublic void entryUpdated(EntryEvent<K,V> event)
EntryUpdatedListenerentryUpdated in interface EntryUpdatedListener<K,V>event - the event invoked when an entry is updatedpublic void entryEvicted(EntryEvent<K,V> event)
EntryEvictedListenerentryEvicted in interface EntryEvictedListener<K,V>event - the event invoked when an entry is evictedpublic void mapEvicted(MapEvent event)
MapEvictedListenerIMap.evictAll().mapEvicted in interface MapEvictedListenerevent - the map event invoked when all entries are evicted by IMap.evictAll()public void mapCleared(MapEvent event)
MapClearedListenerIMap.clear().mapCleared in interface MapClearedListenerevent - the map event invoked when all entries are removed by IMap.clear()public void onEntryEvent(EntryEvent<K,V> event)
EntryListener is not
 overridden. It can be practical if you want to bundle some/all of the methods to a single method.event - the EntryEvent.public void onMapEvent(MapEvent event)
EntryListener is not
 overridden. It can be practical if you want to bundle some/all of the methods to a single method.event - the MapEvent.Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.