Package com.hazelcast.collection
Class ItemEvent<E>
java.lang.Object
java.util.EventObject
com.hazelcast.collection.ItemEvent<E>
- Type Parameters:
E
- type of the item
- All Implemented Interfaces:
Serializable
public class ItemEvent<E> extends EventObject
Event for a collection item.
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
Constructors Constructor Description ItemEvent(String name, ItemEventType itemEventType, E item, Member member)
-
Method Summary
Modifier and Type Method Description 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
-
Field Details
-
item
-
-
Constructor Details
-
ItemEvent
-
-
Method Details
-
getEventType
Returns the event type.- Returns:
- the event type
-
getItem
Returns the item related to the event.- Returns:
- the item related to the event
-
getMember
Returns the member that fired this event.- Returns:
- the member that fired this event
-
toString
- Overrides:
toString
in classEventObject
-