public interface MembershipListener extends EventListener
Modifier and Type | Method and Description |
---|---|
void |
memberAdded(MembershipEvent membershipEvent)
Invoked when a new member is added to the cluster.
|
void |
memberRemoved(MembershipEvent membershipEvent)
Invoked when an existing member leaves the cluster.
|
void memberAdded(MembershipEvent membershipEvent)
membershipEvent
- membership eventvoid memberRemoved(MembershipEvent membershipEvent)
membershipEvent
- membership event when an existing member leaves the clusterCopyright © 2022 Hazelcast, Inc.. All rights reserved.