com.hazelcast.cp

## Interface CPGroup

-     public interface CPGroup

  Contains information about a CP group.

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

  See Also:
    `CPSubsystemManagementService`

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static class` | `CPGroup.CPGroupStatus` Represents status of a CP group

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static 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.
    `static String` | `METADATA_CP_GROUP_NAME` Name of the internal CP group that is used for maintaining CP groups and CP members

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `CPGroupId` | `id()` Returns unique id of the CP group
    `Collection<CPMember>` | `members()` Returns current members of the CP group
    `CPGroup.CPGroupStatus` | `status()` Returns status of the CP group

- - ### Field Detail

    - #### 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:
        Constant Field Values

    - #### 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:
        Constant Field Values

  - ### Method Detail

    - #### id

          CPGroupId id()

      Returns unique id of the CP group

    - #### status

          CPGroup.CPGroupStatus status()

      Returns status of the CP group

    - #### members

          Collection<CPMember> members()

      Returns current members of the CP group

Copyright © 2019. All rights reserved.