| 程序包 | 说明 |
|---|---|
| org.apache.ratis.protocol | |
| org.apache.ratis.util |
| 限定符和类型 | 方法和说明 |
|---|---|
static RaftGroupId |
RaftGroupId.emptyGroupId() |
abstract RaftGroupId |
GroupManagementRequest.Op.getGroupId() |
RaftGroupId |
GroupManagementRequest.Add.getGroupId() |
RaftGroupId |
GroupManagementRequest.Remove.getGroupId() |
RaftGroupId |
RaftGroupMemberId.getGroupId() |
RaftGroupId |
RaftGroup.getGroupId() |
RaftGroupId |
RaftRpcMessage.getRaftGroupId() |
RaftGroupId |
RaftClientMessage.getRaftGroupId() |
static RaftGroupId |
RaftGroupId.randomId() |
static RaftGroupId |
RaftGroupId.valueOf(org.apache.ratis.thirdparty.com.google.protobuf.ByteString data) |
static RaftGroupId |
RaftGroupId.valueOf(UUID uuid) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<RaftGroupId> |
GroupListReply.getGroupIds() |
| 限定符和类型 | 方法和说明 |
|---|---|
static GroupManagementRequest |
GroupManagementRequest.newRemove(ClientId clientId,
RaftPeerId serverId,
long callId,
RaftGroupId groupId,
boolean deleteDirectory,
boolean renameDirectory) |
RaftClientRequest.Builder |
RaftClientRequest.Builder.setGroupId(RaftGroupId groupId) |
RaftClientReply.Builder |
RaftClientReply.Builder.setGroupId(RaftGroupId groupId) |
static RaftGroup |
RaftGroup.valueOf(RaftGroupId groupId,
Collection<RaftPeer> peers) |
static RaftGroup |
RaftGroup.valueOf(RaftGroupId groupId,
RaftPeer... peers) |
static RaftGroupMemberId |
RaftGroupMemberId.valueOf(RaftPeerId peerId,
RaftGroupId groupId) |
| 构造器和说明 |
|---|
GroupInfoReply(ClientId clientId,
RaftPeerId serverId,
RaftGroupId groupId,
long callId,
Collection<org.apache.ratis.proto.RaftProtos.CommitInfoProto> commitInfos,
RaftGroup group,
org.apache.ratis.proto.RaftProtos.RoleInfoProto roleInfoProto,
boolean isRaftStorageHealthy) |
GroupInfoRequest(ClientId clientId,
RaftPeerId serverId,
RaftGroupId groupId,
long callId) |
GroupListReply(ClientId clientId,
RaftPeerId serverId,
RaftGroupId groupId,
long callId,
List<RaftGroupId> groupIds) |
GroupListRequest(ClientId clientId,
RaftPeerId serverId,
RaftGroupId groupId,
long callId) |
RaftClientRequest(ClientId clientId,
RaftPeerId serverId,
RaftGroupId groupId,
long callId,
RaftClientRequest.Type type) |
RaftClientRequest(ClientId clientId,
RaftPeerId serverId,
RaftGroupId groupId,
long callId,
RaftClientRequest.Type type,
long timeoutMs) |
Remove(RaftGroupId groupId,
boolean deleteDirectory,
boolean renameDirectory) |
SetConfigurationRequest(ClientId clientId,
RaftPeerId serverId,
RaftGroupId groupId,
long callId,
List<RaftPeer> peers) |
TransferLeadershipRequest(ClientId clientId,
RaftPeerId serverId,
RaftGroupId groupId,
long callId,
RaftPeerId newLeader,
long timeoutMs) |
| 构造器和说明 |
|---|
GroupListReply(ClientId clientId,
RaftPeerId serverId,
RaftGroupId groupId,
long callId,
List<RaftGroupId> groupIds) |
GroupListReply(RaftClientRequest request,
List<RaftGroupId> groupIds) |
| 限定符和类型 | 方法和说明 |
|---|---|
static RaftGroupId |
ProtoUtils.toRaftGroupId(org.apache.ratis.proto.RaftProtos.RaftGroupIdProto proto) |
| 限定符和类型 | 方法和说明 |
|---|---|
static org.apache.ratis.proto.RaftProtos.RaftGroupIdProto.Builder |
ProtoUtils.toRaftGroupIdProtoBuilder(RaftGroupId id) |
Copyright © 2017–2021 The Apache Software Foundation. All rights reserved.