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 InitialMembershipListener 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.
Called when this listener is registered.
the MembershipInitializeEvent received when the listener is registered
Invoked when a new member is added to the cluster.
Invoked when an existing member leaves the cluster.
Generated using TypeDoc