Interface MemberGroup

All Known Implementing Classes:
NodeMemberGroup

public interface MemberGroup
Partition member group.

The member group represents a group of nodes that can own a single replica for a single partition. Replication is performed in a manner that avoids assigning multiple replicas to the same member group.

  • Method Summary

    Modifier and Type
    Method
    Description
    id()
    Returns the group identifier.
    boolean
    isMember(Member member)
    Returns a boolean indicating whether the given node is a member of the group.
  • Method Details

    • id

      Returns the group identifier.
      Returns:
      the group identifier
    • isMember

      boolean isMember(Member member)
      Returns a boolean indicating whether the given node is a member of the group.
      Parameters:
      member - the node to check
      Returns:
      indicates whether the given node is a member of the group