Package org.wildfly.clustering.server
Interface GroupMembershipListener<M extends GroupMember>
- Type Parameters:
M- the group member type
public interface GroupMembershipListener<M extends GroupMember>
Listener for
GroupMembership changes.- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidmerged(GroupMembershipMergeEvent<M> event) Indicates that the membership of the group has changed as the result of a network partition merge.default voidsplit(GroupMembershipEvent<M> event) Indicates that the membership of the group has changed, probably due to a network partition.voidupdated(GroupMembershipEvent<M> event) Indicates that the membership of the group has changed.
-
Method Details
-
updated
Indicates that the membership of the group has changed.- Parameters:
event- the membership event
-
split
Indicates that the membership of the group has changed, probably due to a network partition.- Parameters:
event- the membership event
-
merged
Indicates that the membership of the group has changed as the result of a network partition merge.- Parameters:
event- the membership event
-