| Package | Description |
|---|---|
| org.apache.ratis.protocol | |
| org.apache.ratis.protocol.exceptions | |
| org.apache.ratis.util |
| Modifier and Type | Method and Description |
|---|---|
static RaftGroupMemberId |
RaftGroupMemberId.valueOf(RaftPeerId peerId,
RaftGroupId groupId) |
| Modifier and Type | Method and Description |
|---|---|
RaftClientReply.Builder |
RaftClientReply.Builder.setServerId(RaftGroupMemberId serverId) |
| Modifier and Type | Method and Description |
|---|---|
RaftGroupMemberId |
LeaderNotReadyException.getServerId() |
| Constructor and Description |
|---|
LeaderNotReadyException(RaftGroupMemberId id) |
NotLeaderException(RaftGroupMemberId memberId,
RaftPeer suggestedLeader,
Collection<RaftPeer> peers) |
StateMachineException(RaftGroupMemberId serverId,
Throwable cause) |
StateMachineException(RaftGroupMemberId serverId,
Throwable cause,
boolean leaderShouldStepDown) |
| Modifier and Type | Method and Description |
|---|---|
static RaftGroupMemberId |
ProtoUtils.toRaftGroupMemberId(org.apache.ratis.thirdparty.com.google.protobuf.ByteString peerId,
org.apache.ratis.proto.RaftProtos.RaftGroupIdProto groupId) |
static RaftGroupMemberId |
ProtoUtils.toRaftGroupMemberId(org.apache.ratis.proto.RaftProtos.RaftGroupMemberIdProto memberId) |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.ratis.proto.RaftProtos.RaftGroupMemberIdProto.Builder |
ProtoUtils.toRaftGroupMemberIdProtoBuilder(RaftGroupMemberId memberId) |
Copyright © 2017–2022 The Apache Software Foundation. All rights reserved.