Package | Description |
---|---|
com.hazelcast.cp.exception |
Contains exceptions that can be thrown by APIs of the CP subsystem
|
com.hazelcast.cp.internal.raft.exception |
Contains exception classes that can be thrown by the CP subsystem
|
Modifier and Type | Class and Description |
---|---|
class |
CannotReplicateException
A
CPSubsystemException which is thrown when an entry cannot be
replicated, which can occur in one of the following cases:
a member leaves the CP group
CP group itself is terminated
uncommitted entry count reaches to
(see RaftAlgorithmConfig.getUncommittedEntryCountToRejectNewAppends() )
a membership change is requested before an entry is committed
on a term
|
class |
CPGroupDestroyedException
A
CPSubsystemException which is thrown when a request is sent to
a destroyed CP group. |
class |
LeaderDemotedException
A
CPSubsystemException which is thrown when
an appended but not-committed entry is truncated by the new leader. |
class |
NotLeaderException
A
CPSubsystemException which is thrown when
a leader-only request is received by a non-leader member. |
class |
StaleAppendRequestException
A
CPSubsystemException which is thrown when a Raft leader node
appends an entry to its local Raft log, but demotes to the follower role
before learning the commit status of the entry. |
Modifier and Type | Class and Description |
---|---|
class |
MemberAlreadyExistsException
A
CPSubsystemException which is thrown when a member, which is
requested to be added to a CP group, is already member of that group. |
class |
MemberDoesNotExistException
A
CPSubsystemException which is thrown when a member, which is
requested to be removed from a CP group, is not a member of that group
or is already removed from that group. |
class |
MismatchingGroupMembersCommitIndexException
A
CPSubsystemException which is thrown when a membership change is
requested but expected members commitIndex doesn't match the actual members
commitIndex in the Raft state. |
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.