Package com.hazelcast.core
Class EntryAdapter<K,V> 
java.lang.Object
com.hazelcast.core.EntryAdapter<K,V> 
- Type Parameters:
- K- key of the map entry
- V- value of the map entry.
- All Implemented Interfaces:
- EntryListener<K,,- V> - EntryAddedListener<K,,- V> - EntryEvictedListener<K,,- V> - EntryExpiredListener<K,,- V> - EntryRemovedListener<K,,- V> - EntryUpdatedListener<K,,- V> - MapClearedListener,- MapEvictedListener,- MapListener,- EventListener
Adapter for 
MapListener.- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidentryAdded(EntryEvent<K, V> event) Invoked upon addition of an entry.voidentryEvicted(EntryEvent<K, V> event) Invoked upon eviction of an entry.voidentryExpired(EntryEvent<K, V> event) Invoked upon expiration of an entry.voidentryRemoved(EntryEvent<K, V> event) Invoked upon removal of an entry.voidentryUpdated(EntryEvent<K, V> event) Invoked upon update of an entry.voidmapCleared(MapEvent event) Invoked when all entries are removed byIMap.clear().voidmapEvicted(MapEvent event) Invoked when all entries are evicted byIMap.evictAll().voidonEntryEvent(EntryEvent<K, V> event) This method is called when one of the methods of theEntryListeneris not overridden.voidonMapEvent(MapEvent event) This method is called when one of the methods of theEntryListeneris not overridden.
- 
Constructor Details- 
EntryAdapterpublic EntryAdapter()
 
- 
- 
Method Details- 
entryAddedDescription copied from interface:EntryAddedListenerInvoked upon addition of an entry.- Specified by:
- entryAddedin interface- EntryAddedListener<K,- V> 
- Parameters:
- event- the event invoked when an entry is added
 
- 
entryRemovedDescription copied from interface:EntryRemovedListenerInvoked upon removal of an entry.- Specified by:
- entryRemovedin interface- EntryRemovedListener<K,- V> 
- Parameters:
- event- the event invoked when an entry is removed
 
- 
entryUpdatedDescription copied from interface:EntryUpdatedListenerInvoked upon update of an entry.- Specified by:
- entryUpdatedin interface- EntryUpdatedListener<K,- V> 
- Parameters:
- event- the event invoked when an entry is updated
 
- 
entryEvictedDescription copied from interface:EntryEvictedListenerInvoked upon eviction of an entry.- Specified by:
- entryEvictedin interface- EntryEvictedListener<K,- V> 
- Parameters:
- event- the event invoked when an entry is evicted
 
- 
entryExpiredDescription copied from interface:EntryExpiredListenerInvoked upon expiration of an entry.- Specified by:
- entryExpiredin interface- EntryExpiredListener<K,- V> 
- Parameters:
- event- the event invoked when an entry is expired.
 
- 
mapEvictedDescription copied from interface:MapEvictedListenerInvoked when all entries are evicted byIMap.evictAll().- Specified by:
- mapEvictedin interface- MapEvictedListener
- Parameters:
- event- the map event invoked when all entries are evicted by- IMap.evictAll()
 
- 
mapClearedDescription copied from interface:MapClearedListenerInvoked when all entries are removed byIMap.clear().When a listener is registered as local-only then it will be invoked if and only if the clear()method is called on the same instance where the listener was registered to.- Specified by:
- mapClearedin interface- MapClearedListener
- Parameters:
- event- the map event invoked when all entries are removed by- IMap.clear()
 
- 
onEntryEventThis method is called when one of the methods of theEntryListeneris not overridden. It can be practical if you want to bundle some/all of the methods to a single method.- Parameters:
- event- the EntryEvent.
 
- 
onMapEventThis method is called when one of the methods of theEntryListeneris not overridden. It can be practical if you want to bundle some/all of the methods to a single method.- Parameters:
- event- the MapEvent.
 
 
-