com.hazelcast.core
Class ItemEvent<E>
java.lang.Object
java.util.EventObject
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
|
item
protected E item
ItemEvent
public ItemEvent(String name,
ItemEventType itemEventType,
E item,
Member member)
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.