Interface Group

All Superinterfaces:
Registrar<GroupListener>

public interface Group extends Registrar<GroupListener>
Represents a groups of nodes.
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.Registrar

    register
  • Method Details

    • getName

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

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

      Membership 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.