K - key of the map entryV - value of the map entry.public class EntryAdapter<K,V> extends Object implements EntryListener<K,V>
EntryListener| Constructor and Description |
|---|
EntryAdapter() |
| 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 |
onEntryEvent(EntryEvent<K,V> event)
This method is called when an one of the methods of the
EntryListener is not
overridden. |
void |
onMapEvent(MapEvent event)
This method is called when an one of the methods of the
EntryListener is not
overridden. |
public void entryAdded(EntryEvent<K,V> event)
EntryListenerentryAdded in interface EntryListener<K,V>event - the event invoked when an entry is addedpublic void entryRemoved(EntryEvent<K,V> event)
EntryListenerentryRemoved in interface EntryListener<K,V>event - the event invoked when an entry is removedpublic void entryUpdated(EntryEvent<K,V> event)
EntryListenerentryUpdated in interface EntryListener<K,V>event - the event invoked when an entry is updatedpublic void entryEvicted(EntryEvent<K,V> event)
EntryListenerentryEvicted in interface EntryListener<K,V>event - the event invoked when an entry is evictedpublic void mapEvicted(MapEvent event)
EntryListenerIMap.evictAll().mapEvicted in interface EntryListener<K,V>event - the map event invoked when all entries are evicted by IMap.evictAll()public void mapCleared(MapEvent event)
EntryListenerIMap.clear().mapCleared in interface EntryListener<K,V>event - 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 © 2015 Hazelcast, Inc.. All Rights Reserved.