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.
See Also:
  • Field Details

    • item

      protected E item
  • Constructor Details

  • Method Details

    • 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