| Package | Description | 
|---|---|
| com.hazelcast.cp | 
 Contains public APIs of CP Subsystem 
 | 
| com.hazelcast.cp.event | 
 Contains definitions of CP Subsystem events and listeners. 
 | 
| com.hazelcast.cp.exception | 
 Contains exceptions that can be thrown by APIs of CP Subsystem 
 | 
| com.hazelcast.cp.lock | 
 Contains locking APIs of CP Subsystem 
 | 
| Modifier and Type | Method and Description | 
|---|---|
CPGroupId | 
CPGroup.id()
Returns unique id of the CP group 
 | 
| Modifier and Type | Method and Description | 
|---|---|
CompletionStage<Collection<CPGroupId>> | 
CPSubsystemManagementService.getCPGroupIds()
Returns all active CP group ids. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
CPGroupId | 
CPGroupAvailabilityEvent.getGroupId()
Returns the id of the related CP group. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
CPGroupId | 
CPGroupDestroyedException.getGroupId()  | 
| Constructor and Description | 
|---|
CPGroupDestroyedException(CPGroupId groupId)  | 
NotLeaderException(CPGroupId groupId,
                  com.hazelcast.cp.internal.raft.impl.RaftEndpoint local,
                  com.hazelcast.cp.internal.raft.impl.RaftEndpoint leader)  | 
| Modifier and Type | Method and Description | 
|---|---|
CPGroupId | 
FencedLock.getGroupId()
Returns id of the CP group that runs this  
FencedLock instance | 
Copyright © 2023 Hazelcast, Inc.. All rights reserved.