## Uses of Interface
com.hazelcast.cp.CPGroupId

- Packages that use CPGroupId
  Package | Description
  --- | ---
  com.hazelcast.cp | Contains public APIs of the CP subsystem
  com.hazelcast.cp.exception | Contains exceptions that can be thrown by APIs of the CP subsystem
  com.hazelcast.cp.lock | Contains locking APIs of the CP subsystem

- - ### Uses of CPGroupId in com.hazelcast.cp

    Methods in com.hazelcast.cp that return CPGroupId
    Modifier and Type | Method and Description
    --- | ---
    `CPGroupId` | CPGroup.`id()` Returns unique id of the CP group

    Methods in com.hazelcast.cp that return types with arguments of type CPGroupId
    Modifier and Type | Method and Description
    --- | ---
    `ICompletableFuture<Collection<CPGroupId>>` | CPSubsystemManagementService.`getCPGroupIds()` Returns all active CP group ids.

  - ### Uses of CPGroupId in com.hazelcast.cp.exception

    Methods in com.hazelcast.cp.exception that return CPGroupId
    Modifier and Type | Method and Description
    --- | ---
    `CPGroupId` | CPGroupDestroyedException.`getGroupId()`

    Constructors in com.hazelcast.cp.exception with parameters of type CPGroupId
    Constructor and Description
    `CPGroupDestroyedException(CPGroupId groupId)`
    `NotLeaderException(CPGroupId groupId, Endpoint local, Endpoint leader)`

  - ### Uses of CPGroupId in com.hazelcast.cp.lock

    Methods in com.hazelcast.cp.lock that return CPGroupId
    Modifier and Type | Method and Description
    --- | ---
    `CPGroupId` | FencedLock.`getGroupId()` Returns id of the CP group that runs this `FencedLock` instance

Copyright © 2020. All rights reserved.