Class NoOpMapListener
java.lang.Object
com.hazelcast.client.soaktest.listener.NoOpMapListener
- All Implemented Interfaces:
EntryAddedListener<String,
,String> EntryEvictedListener<String,
,String> EntryExpiredListener<String,
,String> EntryLoadedListener<String,
,String> EntryMergedListener<String,
,String> EntryRemovedListener<String,
,String> EntryUpdatedListener<String,
,String> MapClearedListener
,MapEvictedListener
,MapListener
,EventListener
public class NoOpMapListener
extends Object
implements MapClearedListener, MapEvictedListener, EntryAddedListener<String,String>, EntryEvictedListener<String,String>, EntryExpiredListener<String,String>, EntryRemovedListener<String,String>, EntryMergedListener<String,String>, EntryUpdatedListener<String,String>, EntryLoadedListener<String,String>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
entryAdded
(EntryEvent<String, String> event) Invoked upon addition of an entry.void
entryEvicted
(EntryEvent<String, String> event) Invoked upon eviction of an entry.void
entryExpired
(EntryEvent<String, String> event) Invoked upon expiration of an entry.void
entryLoaded
(EntryEvent<String, String> event) Invoked upon load of an entry.void
entryMerged
(EntryEvent<String, String> event) Invoked after WAN replicated entry is merged.void
entryRemoved
(EntryEvent<String, String> event) Invoked upon removal of an entry.void
entryUpdated
(EntryEvent<String, String> event) Invoked upon update of an entry.void
mapCleared
(MapEvent event) Invoked when all entries are removed byIMap.clear()
.void
mapEvicted
(MapEvent event) Invoked when all entries are evicted byIMap.evictAll()
.
-
Constructor Details
-
NoOpMapListener
public NoOpMapListener()
-
-
Method Details
-
entryAdded
Description copied from interface:EntryAddedListener
Invoked upon addition of an entry.- Specified by:
entryAdded
in interfaceEntryAddedListener<String,
String> - Parameters:
event
- the event invoked when an entry is added
-
entryEvicted
Description copied from interface:EntryEvictedListener
Invoked upon eviction of an entry.- Specified by:
entryEvicted
in interfaceEntryEvictedListener<String,
String> - Parameters:
event
- the event invoked when an entry is evicted
-
entryExpired
Description copied from interface:EntryExpiredListener
Invoked upon expiration of an entry.- Specified by:
entryExpired
in interfaceEntryExpiredListener<String,
String> - Parameters:
event
- the event invoked when an entry is expired.
-
entryLoaded
Description copied from interface:EntryLoadedListener
Invoked upon load of an entry.- Specified by:
entryLoaded
in interfaceEntryLoadedListener<String,
String> - Parameters:
event
- the event invoked when an entry is loaded
-
entryMerged
Description copied from interface:EntryMergedListener
Invoked after WAN replicated entry is merged.- Specified by:
entryMerged
in interfaceEntryMergedListener<String,
String> - Parameters:
event
- the event invoked when an entry is merged
-
entryRemoved
Description copied from interface:EntryRemovedListener
Invoked upon removal of an entry.- Specified by:
entryRemoved
in interfaceEntryRemovedListener<String,
String> - Parameters:
event
- the event invoked when an entry is removed
-
entryUpdated
Description copied from interface:EntryUpdatedListener
Invoked upon update of an entry.- Specified by:
entryUpdated
in interfaceEntryUpdatedListener<String,
String> - Parameters:
event
- the event invoked when an entry is updated
-
mapCleared
Description copied from interface:MapClearedListener
Invoked 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:
mapCleared
in interfaceMapClearedListener
- Parameters:
event
- the map event invoked when all entries are removed byIMap.clear()
-
mapEvicted
Description copied from interface:MapEvictedListener
Invoked when all entries are evicted byIMap.evictAll()
.- Specified by:
mapEvicted
in interfaceMapEvictedListener
- Parameters:
event
- the map event invoked when all entries are evicted byIMap.evictAll()
-