Interface CPGroup


public interface CPGroup
Contains information about a CP group.

A CP group is a set of CP members that run the Raft consensus algorithm and contain CP data structure instances that are mapped to it.

There can be at most one active CP group with a given name.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    Represents status of a CP group
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Name of the DEFAULT CP group that is used when no group name is specified while creating a CP data structure proxy.
    static final String
    Name of the internal CP group that is used for maintaining CP groups and CP members
  • Method Summary

    Modifier and Type
    Method
    Description
    id()
    Returns unique id of the CP group
    Returns current members of the CP group
    Returns status of the CP group
  • Field Details

    • METADATA_CP_GROUP_NAME

      static final String METADATA_CP_GROUP_NAME
      Name of the internal CP group that is used for maintaining CP groups and CP members
      See Also:
    • DEFAULT_GROUP_NAME

      static final String DEFAULT_GROUP_NAME
      Name of the DEFAULT CP group that is used when no group name is specified while creating a CP data structure proxy.
      See Also:
  • Method Details