com.hazelcast.core

## Interface ItemListener<E>

- Type Parameters:
    `E` - item
  All Superinterfaces:
    EventListener
  All Known Implementing Classes:
    ClientConsoleApp, ConsoleApp

      public interface ItemListener<E>
      extends EventListener

  Item listener for `IQueue`, `ISet` and `IList`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `itemAdded(ItemEvent<E> item)` Invoked when an item is added.
    `void` | `itemRemoved(ItemEvent<E> item)` Invoked when an item is removed.

- - ### Method Detail

    - #### itemAdded

          void itemAdded(ItemEvent<E> item)

      Invoked when an item is added.
      Parameters:
        `item` - the added item

    - #### itemRemoved

          void itemRemoved(ItemEvent<E> item)

      Invoked when an item is removed.
      Parameters:
        `item` - the removed item.

Copyright © 2019. All rights reserved.