com.hazelcast.map.listener

## Interface MapListener

- All Superinterfaces:
    EventListener
  All Known Subinterfaces:
    EntryAddedListener<K,V>, EntryEvictedListener<K,V>, EntryExpiredListener<K,V>, EntryListener<K,V>, EntryLoadedListener<K,V>, EntryMergedListener<K,V>, EntryRemovedListener<K,V>, EntryUpdatedListener<K,V>, EventLostListener, MapClearedListener, MapEvictedListener, MapPartitionLostListener
  All Known Implementing Classes:
    ClientConsoleApp, ConsoleApp, EntryAdapter, EntryListenerConfig.MapListenerToEntryListenerAdapter

      public interface MapListener
      extends EventListener

  A marker interface which is used to get notified upon a map or an entry event.

  Specifically:
  - A map event is fired as a result of a map-wide operations like e.g. `EntryEventType.CLEAR_ALL`. `EntryEventType.EVICT_ALL`.
  - An entry event is fired after the changes that affects a specific entry e.g. `EntryEventType.ADDED`, `EntryEventType.UPDATED`

  An implementer of this interface should extend one of the sub-interfaces of it to receive a corresponding event.
  Since:
    3.5
  See Also:
    `MapClearedListener`, `MapEvictedListener`, `EntryAddedListener`, `EntryEvictedListener`, `EntryRemovedListener`, `EntryMergedListener`, `EntryUpdatedListener`, `EntryLoadedListener`

Copyright © 2020. All rights reserved.