Class AbstractIMapEvent

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String name  
      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractIMapEvent​(java.lang.Object source, Member member, int eventType)
      Constructs a prototypical map Event.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      EntryEventType getEventType()
      Returns the event type EntryEventType.
      Member getMember()
      Returns the member that fired this event.
      java.lang.String getName()
      Returns the name of the map for this event.
      java.lang.Object getSource()
      Returns the object on which the event initially occurred.
      java.lang.String toString()
      Returns a String representation of this event.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • name

        protected final java.lang.String name
    • Constructor Detail

      • AbstractIMapEvent

        public AbstractIMapEvent​(java.lang.Object source,
                                 Member member,
                                 int eventType)
        Constructs a prototypical map Event.
        Parameters:
        source - The object on which the Event initially occurred.
        member - The interface to the cluster member (node).
        eventType - The event type as an enum EntryEventType integer.
        Throws:
        java.lang.IllegalArgumentException - if source is null.
    • Method Detail

      • getSource

        public java.lang.Object getSource()
        Returns the object on which the event initially occurred.
        Overrides:
        getSource in class java.util.EventObject
        Returns:
        The object on which the event initially occurred.
      • getMember

        public Member getMember()
        Returns the member that fired this event.
        Specified by:
        getMember in interface IMapEvent
        Returns:
        The member that fired this event.
      • getName

        public java.lang.String getName()
        Returns the name of the map for this event.
        Specified by:
        getName in interface IMapEvent
        Returns:
        The name of the map for this event.
      • toString

        public java.lang.String toString()
        Returns a String representation of this event.
        Overrides:
        toString in class java.util.EventObject
        Returns:
        A String representation of this event.