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 |
memberAttributeChanged(MemberAttributeEvent memberAttributeEvent)
Invoked when an attribute of a member was changed.
|
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 clusterpublic void memberAttributeChanged(MemberAttributeEvent memberAttributeEvent)
MembershipListener
memberAttributeChanged
in interface MembershipListener
memberAttributeEvent
- member attribute event when an attribute of a member was changedCopyright © 2018 Hazelcast, Inc.. All rights reserved.