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 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) |
public void entryAdded(EntryEvent<K,V> event)
EntryListenerentryAdded in interface EntryListener<K,V>event - entry eventpublic void entryRemoved(EntryEvent<K,V> event)
EntryListenerentryRemoved in interface EntryListener<K,V>event - entry eventpublic void entryUpdated(EntryEvent<K,V> event)
EntryListenerentryUpdated in interface EntryListener<K,V>event - entry eventpublic void entryEvicted(EntryEvent<K,V> event)
EntryListenerentryEvicted in interface EntryListener<K,V>event - entry eventpublic void mapEvicted(MapEvent event)
EntryListenerIMap.evictAll().mapEvicted in interface EntryListener<K,V>event - map eventpublic void mapCleared(MapEvent event)
EntryListenerIMap.clear().}mapCleared in interface EntryListener<K,V>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)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.