com.hazelcast.core
Class InitialMembershipEvent
java.lang.Object
java.util.EventObject
com.hazelcast.core.InitialMembershipEvent
- All Implemented Interfaces:
- Serializable
public class InitialMembershipEvent
- extends EventObject
A event that is send when a InitialMembershipListener
registers itself on a Cluster
. For more
information see the InitialMembershipListener
.
- Author:
- Peter Veentjer
- See Also:
InitialMembershipListener
,
MembershipListener
,
MembershipEvent
,
Serialized Form
InitialMembershipEvent
public InitialMembershipEvent(Cluster cluster,
Set<Member> members)
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
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.