Package com.hazelcast.cluster
Class InitialMembershipEvent
java.lang.Object
java.util.EventObject
com.hazelcast.cluster.InitialMembershipEvent
- All Implemented Interfaces:
Serializable
An event that is sent when a
InitialMembershipListener
registers itself on a Cluster
. For more
information, see the InitialMembershipListener
.- Author:
- Peter Veentjer
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the cluster of the event.Returns an immutable set of ordered members at the moment thisInitialMembershipListener
is registered.toString()
Methods inherited from class java.util.EventObject
getSource
-
Constructor Details
-
InitialMembershipEvent
-
-
Method Details
-
getMembers
Returns an immutable set of ordered members at the moment thisInitialMembershipListener
is registered. SeeCluster.getMembers()
for more information.- Returns:
- an immutable set of ordered members.
-
getCluster
Returns the cluster of the event.- Returns:
- the cluster of the event.
-
toString
- Overrides:
toString
in classEventObject
-