| 程序包 | 说明 |
|---|---|
| org.apache.ratis.datastream.impl | |
| org.apache.ratis.protocol |
| 限定符和类型 | 方法和说明 |
|---|---|
ClientId |
DataStreamPacketImpl.getClientId() |
| 限定符和类型 | 方法和说明 |
|---|---|
DataStreamReplyByteBuffer.Builder |
DataStreamReplyByteBuffer.Builder.setClientId(ClientId clientId) |
| 构造器和说明 |
|---|
DataStreamPacketByteBuffer(ClientId clientId,
org.apache.ratis.proto.RaftProtos.DataStreamPacketHeaderProto.Type type,
long streamId,
long streamOffset,
ByteBuffer buffer) |
DataStreamPacketImpl(ClientId clientId,
org.apache.ratis.proto.RaftProtos.DataStreamPacketHeaderProto.Type type,
long streamId,
long streamOffset) |
| 限定符和类型 | 方法和说明 |
|---|---|
static ClientId |
ClientId.emptyClientId() |
ClientId |
DataStreamPacket.getClientId() |
ClientId |
RaftClientMessage.getClientId() |
ClientId |
ClientInvocationId.getClientId() |
static ClientId |
ClientId.randomId() |
static ClientId |
ClientId.valueOf(org.apache.ratis.thirdparty.com.google.protobuf.ByteString data) |
static ClientId |
ClientId.valueOf(UUID uuid) |
| 限定符和类型 | 方法和说明 |
|---|---|
static GroupManagementRequest |
GroupManagementRequest.newAdd(ClientId clientId,
RaftPeerId serverId,
long callId,
RaftGroup group) |
static SnapshotManagementRequest |
SnapshotManagementRequest.newCreate(ClientId clientId,
RaftPeerId serverId,
RaftGroupId groupId,
long callId,
long timeoutMs) |
static LeaderElectionManagementRequest |
LeaderElectionManagementRequest.newPause(ClientId clientId,
RaftPeerId serverId,
RaftGroupId groupId,
long callId) |
static GroupManagementRequest |
GroupManagementRequest.newRemove(ClientId clientId,
RaftPeerId serverId,
long callId,
RaftGroupId groupId,
boolean deleteDirectory,
boolean renameDirectory) |
static LeaderElectionManagementRequest |
LeaderElectionManagementRequest.newResume(ClientId clientId,
RaftPeerId serverId,
RaftGroupId groupId,
long callId) |
RaftClientRequest.Builder |
RaftClientRequest.Builder.setClientId(ClientId clientId) |
RaftClientReply.Builder |
RaftClientReply.Builder.setClientId(ClientId clientId) |
static ClientInvocationId |
ClientInvocationId.valueOf(ClientId clientId,
long invocationId) |
| 构造器和说明 |
|---|
DataStreamPacketHeader(ClientId clientId,
org.apache.ratis.proto.RaftProtos.DataStreamPacketHeaderProto.Type type,
long streamId,
long streamOffset,
long dataLength) |
DataStreamReplyHeader(ClientId clientId,
org.apache.ratis.proto.RaftProtos.DataStreamPacketHeaderProto.Type type,
long streamId,
long streamOffset,
long dataLength,
long bytesWritten,
boolean success,
Collection<org.apache.ratis.proto.RaftProtos.CommitInfoProto> commitInfos) |
DataStreamRequestHeader(ClientId clientId,
org.apache.ratis.proto.RaftProtos.DataStreamPacketHeaderProto.Type type,
long streamId,
long streamOffset,
long dataLength,
Iterable<WriteOption> options) |
DataStreamRequestHeader(ClientId clientId,
org.apache.ratis.proto.RaftProtos.DataStreamPacketHeaderProto.Type type,
long streamId,
long streamOffset,
long dataLength,
WriteOption... options) |
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,
org.apache.ratis.proto.RaftProtos.RaftConfigurationProto conf) |
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) |
LeaderElectionManagementRequest(ClientId clientId,
RaftPeerId serverId,
RaftGroupId groupId,
long callId,
LeaderElectionManagementRequest.Op op) |
RaftClientRequest(ClientId clientId,
RaftPeerId serverId,
RaftGroupId groupId,
long callId,
boolean toLeader,
RaftClientRequest.Type type) |
RaftClientRequest(ClientId clientId,
RaftPeerId serverId,
RaftGroupId groupId,
long callId,
RaftClientRequest.Type type,
long timeoutMs) |
SetConfigurationRequest(ClientId clientId,
RaftPeerId serverId,
RaftGroupId groupId,
long callId,
List<RaftPeer> peers) |
SetConfigurationRequest(ClientId clientId,
RaftPeerId serverId,
RaftGroupId groupId,
long callId,
List<RaftPeer> peers,
List<RaftPeer> listeners) |
SetConfigurationRequest(ClientId clientId,
RaftPeerId serverId,
RaftGroupId groupId,
long callId,
SetConfigurationRequest.Arguments arguments) |
SnapshotManagementRequest(ClientId clientId,
RaftPeerId serverId,
RaftGroupId groupId,
long callId,
long timeoutMs,
SnapshotManagementRequest.Op op) |
TransferLeadershipRequest(ClientId clientId,
RaftPeerId serverId,
RaftGroupId groupId,
long callId,
RaftPeerId newLeader,
long timeoutMs) |
Copyright © 2017–2023 The Apache Software Foundation. All rights reserved.