Class InitialMembershipEvent

java.lang.Object
java.util.EventObject
com.hazelcast.cluster.InitialMembershipEvent
All Implemented Interfaces:
Serializable

public class InitialMembershipEvent extends EventObject
An event that is sent when a InitialMembershipListener registers itself on a Cluster. For more information, see the InitialMembershipListener.
Author:
Peter Veentjer
See Also:
  • Constructor Details

    • InitialMembershipEvent

      public InitialMembershipEvent(Cluster cluster, Set<Member> members)
  • Method Details

    • getMembers

      public Set<Member> getMembers()
      Returns an immutable set of ordered members at the moment this InitialMembershipListener is registered. See Cluster.getMembers() for more information.
      Returns:
      an immutable set of ordered members.
    • getCluster

      public Cluster getCluster()
      Returns the cluster of the event.
      Returns:
      the cluster of the event.
    • toString

      public String toString()
      Overrides:
      toString in class EventObject