| 接口 | 说明 |
|---|---|
| AdminAsynchronousProtocol |
Asynchronous version of
AdminProtocol. |
| AdminProtocol |
For server administration.
|
| DataStreamPacket | |
| DataStreamReply | |
| DataStreamRequest | |
| Message |
The information clients append to the raft ring.
|
| RaftClientAsynchronousProtocol |
Asynchronous version of
RaftClientProtocol. |
| RaftClientProtocol | |
| RaftPeer.Add | |
| 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.
|
| 类 | 说明 |
|---|---|
| ClientId |
Id of Raft client.
|
| ClientInvocationId |
The id of a client invocation.
|
| DataStreamPacketHeader |
The header format is streamId, streamOffset, dataLength.
|
| DataStreamReplyHeader |
The header format is
DataStreamPacketHeader, bytesWritten and flags. |
| 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 | |
| LeaderElectionManagementRequest | |
| LeaderElectionManagementRequest.Op | |
| LeaderElectionManagementRequest.Pause | |
| LeaderElectionManagementRequest.Resume | |
| 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.
|
| RoutingTable.Builder |
To build a
RoutingTable. |
| SetConfigurationRequest | |
| SetConfigurationRequest.Arguments | |
| SetConfigurationRequest.Arguments.Builder | |
| SnapshotManagementRequest | |
| SnapshotManagementRequest.Create | |
| SnapshotManagementRequest.Op | |
| TransferLeadershipRequest |
| 枚举 | 说明 |
|---|---|
| SetConfigurationRequest.Mode |
Copyright © 2017–2023 The Apache Software Foundation. All rights reserved.