|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hazelcast.core.EntryAdapter<K,V>
K
- key of the map entryV
- value of the map entry.public class EntryAdapter<K,V>
Adapter for EntryListener.
EntryListener
Constructor Summary | |
---|---|
EntryAdapter()
|
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() . |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EntryAdapter()
Method Detail |
---|
public void entryAdded(EntryEvent<K,V> event)
EntryListener
entryAdded
in interface EntryListener<K,V>
event
- the event invoked when an entry is addedpublic void entryRemoved(EntryEvent<K,V> event)
EntryListener
entryRemoved
in interface EntryListener<K,V>
event
- the event invoked when an entry is removedpublic void entryUpdated(EntryEvent<K,V> event)
EntryListener
entryUpdated
in interface EntryListener<K,V>
event
- the event invoked when an entry is updatedpublic void entryEvicted(EntryEvent<K,V> event)
EntryListener
entryEvicted
in interface EntryListener<K,V>
event
- the event invoked when an entry is evictedpublic void mapEvicted(MapEvent event)
EntryListener
IMap.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)
EntryListener
IMap.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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |