public static class EntryListenerConfig.MapListenerToEntryListenerAdapter extends Object implements EntryListener, HazelcastInstanceAware
| Constructor and Description |
|---|
EntryListenerConfig.MapListenerToEntryListenerAdapter(MapListener mapListener) |
| Modifier and Type | Method and Description |
|---|---|
void |
entryAdded(EntryEvent event)
Invoked upon addition of an entry.
|
void |
entryEvicted(EntryEvent event)
Invoked upon eviction of an entry.
|
void |
entryRemoved(EntryEvent event)
Invoked upon removal of an entry.
|
void |
entryUpdated(EntryEvent event)
Invoked upon update of an entry.
|
MapListener |
getMapListener() |
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 |
setHazelcastInstance(HazelcastInstance hazelcastInstance)
Gets the HazelcastInstance reference when submitting a Runnable/Callable using Hazelcast ExecutorService.
|
public EntryListenerConfig.MapListenerToEntryListenerAdapter(MapListener mapListener)
public void entryAdded(EntryEvent event)
EntryAddedListenerentryAdded in interface EntryAddedListenerevent - the event invoked when an entry is addedpublic void entryEvicted(EntryEvent event)
EntryEvictedListenerentryEvicted in interface EntryEvictedListenerevent - the event invoked when an entry is evictedpublic void entryRemoved(EntryEvent event)
EntryRemovedListenerentryRemoved in interface EntryRemovedListenerevent - the event invoked when an entry is removedpublic void entryUpdated(EntryEvent event)
EntryUpdatedListenerentryUpdated in interface EntryUpdatedListenerevent - the event invoked when an entry is updatedpublic void mapCleared(MapEvent event)
MapClearedListenerIMap.clear().mapCleared in interface MapClearedListenerevent - the map event invoked when all entries are removed by IMap.clear()public void mapEvicted(MapEvent event)
MapEvictedListenerIMap.evictAll().mapEvicted in interface MapEvictedListenerevent - the map event invoked when all entries are evicted by IMap.evictAll()public void setHazelcastInstance(HazelcastInstance hazelcastInstance)
HazelcastInstanceAwaresetHazelcastInstance in interface HazelcastInstanceAwarehazelcastInstance - the HazelcastInstance referencepublic MapListener getMapListener()
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.