com.hazelcast.map.listener

## Interface MapClearedListener

- All Superinterfaces:
    EventListener, MapListener
  All Known Subinterfaces:
    EntryListener<K,V>
  All Known Implementing Classes:
    ClientConsoleApp, ConsoleApp, EntryAdapter, EntryListenerConfig.MapListenerToEntryListenerAdapter

      public interface MapClearedListener
      extends MapListener

  Invoked after all entries are removed by `IMap.clear()`.
  Since:
    3.5

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `mapCleared(MapEvent event)` Invoked when all entries are removed by `IMap.clear()`.

- - ### Method Detail

    - #### mapCleared

          void mapCleared(MapEvent event)

      Invoked when all entries are removed by `IMap.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.
      Parameters:
        `event` - the map event invoked when all entries are removed by `IMap.clear()`

Copyright © 2020. All rights reserved.