com.hazelcast.core
Interface ItemListener<E>

Type Parameters:
E - item
All Superinterfaces:
EventListener

public interface ItemListener<E>
extends EventListener

Item listener for IQueue, ISet and IList


Method Summary
 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 - added item

itemRemoved

void itemRemoved(ItemEvent<E> item)
Invoked when an item is removed.

Parameters:
item - removed item.


Copyright 2008-2012 Hazel Ltd. All Rights Reserved.