| 程序包 | 说明 |
|---|---|
| org.apache.ratis.datastream.impl | |
| org.apache.ratis.protocol | |
| org.apache.ratis.protocol.exceptions | |
| org.apache.ratis.util |
| 类和说明 |
|---|
| ClientId
Id of Raft client.
|
| DataStreamPacket |
| DataStreamReply |
| DataStreamReplyHeader
The header format is
DataStreamPacketHeader, bytesWritten and flags. |
| DataStreamRequest |
| DataStreamRequestHeader
The header format is the same
DataStreamPacketHeader
since there are no additional fields. |
| 类和说明 |
|---|
| ClientId
Id of Raft client.
|
| ClientInvocationId
The id of a client invocation.
|
| DataStreamPacket |
| DataStreamPacketHeader
The header format is streamId, streamOffset, dataLength.
|
| DataStreamReply |
| DataStreamReplyHeader
The header format is
DataStreamPacketHeader, bytesWritten and flags. |
| DataStreamRequest |
| DataStreamRequestHeader
The header format is the same
DataStreamPacketHeader
since there are no additional fields. |
| GroupInfoReply
The response of server information request.
|
| GroupInfoRequest
Client sends this request to a server to request for the information about
the server itself.
|
| GroupListReply
The response of group list request.
|
| GroupListRequest
Client sends this request to a server to request for the information about
the server itself.
|
| GroupManagementRequest |
| GroupManagementRequest.Add |
| GroupManagementRequest.Op |
| GroupManagementRequest.Remove |
| Message
The information clients append to the raft ring.
|
| RaftClientMessage |
| RaftClientReply
Reply from server to client
|
| RaftClientReply.Builder
To build
RaftClientReply |
| RaftClientRequest
Request from client to server
|
| RaftClientRequest.Builder
To build
RaftClientRequest |
| RaftClientRequest.Type
The type of a request (oneof write, read, staleRead, watch; see the message RaftClientRequestProto).
|
| RaftGroup
Description of a raft group, which has a unique
RaftGroupId and a collection of RaftPeer. |
| RaftGroupId
The id of a raft group.
|
| RaftGroupMemberId |
| RaftId
Unique identifier implemented using
UUID. |
| RaftPeer
A
RaftPeer contains the information of a server. |
| RaftPeer.Builder |
| RaftPeerId
Id of Raft Peer which is globally unique.
|
| RaftRpcMessage |
| RoutingTable
A routing table is a directed acyclic graph containing exactly one primary peer such that
(1) the primary peer is the only starting peer, and
(2) all the other peers can be reached from the primary peer by exactly one path.
|
| RoutingTable.Builder
To build a
RoutingTable. |
| SetConfigurationRequest |
| TransferLeadershipRequest |
| 类和说明 |
|---|
| RaftClientRequest
Request from client to server
|
| RaftGroupMemberId |
| RaftPeer
A
RaftPeer contains the information of a server. |
| RaftPeerId
Id of Raft Peer which is globally unique.
|
| 类和说明 |
|---|
| RaftGroup
Description of a raft group, which has a unique
RaftGroupId and a collection of RaftPeer. |
| RaftGroupId
The id of a raft group.
|
| RaftGroupMemberId |
| RaftPeer
A
RaftPeer contains the information of a server. |
| RaftPeer.Add |
| RaftPeerId
Id of Raft Peer which is globally unique.
|
Copyright © 2017–2021 The Apache Software Foundation. All rights reserved.