Package com.hazelcast.cluster
Interface InitialMembershipListener
- All Superinterfaces:
EventListener
,MembershipListener
The InitialMembershipListener is a
MembershipListener
that first receives an
InitialMembershipEvent
when it is registered so it immediately knows which members are available. After
that event has been received, it will receive the normal MembershipEvents.
When the InitializingMembershipListener already is registered on a Cluster
and is registered again on the same
Cluster instance, it will not receive an additional InitialMembershipEvent. This is a once only event.
- Author:
- Peter Veentjer.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(InitialMembershipEvent event) Called when this listener is registered.Methods inherited from interface com.hazelcast.cluster.MembershipListener
memberAdded, memberRemoved
-
Method Details
-
init
Called when this listener is registered.- Parameters:
event
- the MembershipInitializeEvent received when the listener is registered
-