Interface Group<M extends GroupMember>

All Superinterfaces:
Registrar<GroupMembershipListener<M>>

public interface Group<M extends GroupMember> extends Registrar<GroupMembershipListener<M>>
Represents a set of group members.
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the local member.
    Gets the current membership of this group
    Returns the logical name of this group.
    boolean
    Indicates whether or not this is a singleton group.

    Methods inherited from interface org.wildfly.clustering.server.Registrar

    register
  • Method Details

    • getName

      String getName()
      Returns the logical name of this group.
      Returns:
      the group name
    • getLocalMember

      M getLocalMember()
      Returns the local member.
      Returns:
      the local member
    • getMembership

      GroupMembership<M> getMembership()
      Gets the current membership of this group
      Returns:
      the group membership
    • isSingleton

      boolean isSingleton()
      Indicates whether or not this is a singleton group. The membership of a singleton group contains only the local member and never changes.
      Returns:
      true, if this is a singleton group, false otherwise.