com.hazelcast.core
Class ItemEvent<E>

java.lang.Object
  extended by java.util.EventObject
      extended by com.hazelcast.core.ItemEvent<E>
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DataAwareItemEvent

public class ItemEvent<E>
extends EventObject

Map Item event.

See Also:
EntryEvent, ICollection.addItemListener(ItemListener, boolean), Serialized Form

Field Summary
protected  E item
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ItemEvent(String name, ItemEventType itemEventType, E item, Member member)
           
 
Method Summary
 ItemEventType getEventType()
          Returns the event type.
 E getItem()
          Returns the item related to the event.
 Member getMember()
          Returns the member that fired this event.
 String toString()
           
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

item

protected E item
Constructor Detail

ItemEvent

public ItemEvent(String name,
                 ItemEventType itemEventType,
                 E item,
                 Member member)
Method Detail

getEventType

public ItemEventType getEventType()
Returns the event type.

Returns:
the event type.

getItem

public E getItem()
Returns the item related to the event.

Returns:
the item related to the event.

getMember

public Member getMember()
Returns the member that fired this event.

Returns:
the member that fired this event.

toString

public String toString()
Overrides:
toString in class EventObject


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.