Interface InitialMembershipListener

All Superinterfaces:
EventListener, MembershipListener

public interface InitialMembershipListener extends 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 Details

    • init

      void init(InitialMembershipEvent event)
      Called when this listener is registered.
      Parameters:
      event - the MembershipInitializeEvent received when the listener is registered