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 Type
    Method
    Description
    default void
    Indicates that the membership of the group has changed as the result of a network partition merge.
    default void
    Indicates that the membership of the group has changed, probably due to a network partition.
    void
    Indicates that the membership of the group has changed.
  • Method Details

    • updated

      void updated(GroupMembershipEvent<M> event)
      Indicates that the membership of the group has changed.
      Parameters:
      event - the membership event
    • split

      default void split(GroupMembershipEvent<M> event)
      Indicates that the membership of the group has changed, probably due to a network partition.
      Parameters:
      event - the membership event
    • merged

      default void merged(GroupMembershipMergeEvent<M> event)
      Indicates that the membership of the group has changed as the result of a network partition merge.
      Parameters:
      event - the membership event