public class MembershipAdapter extends Object implements MembershipListener
MembershipListener
Constructor and Description |
---|
MembershipAdapter() |
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.
|
public void memberAdded(MembershipEvent membershipEvent)
MembershipListener
memberAdded
in interface MembershipListener
membershipEvent
- membership eventpublic void memberRemoved(MembershipEvent membershipEvent)
MembershipListener
memberRemoved
in interface MembershipListener
membershipEvent
- membership event when an existing member leaves the clusterCopyright © 2020 Hazelcast, Inc.. All rights reserved.