Interface InitialMembershipListener

All Superinterfaces:
EventListener, MembershipListener

public interface InitialMembershipListener
extends MembershipListener

The InitializingMembershipListener is a MembershipListener that first receives a 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 MembershipInitializeEvent. This is a once only event.

Peter Veentjer.
See Also:
Cluster.addMembershipListener(MembershipListener), MembershipEvent.getMembers()

Method Summary
 void init(InitialMembershipEvent event)
          Called when this listener is registered.
Methods inherited from interface com.hazelcast.core.MembershipListener
memberAdded, memberAttributeChanged, memberRemoved

Method Detail


void init(InitialMembershipEvent event)
Called when this listener is registered.

event - the MembershipInitializeEvent received when the listener is registered

Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.