public interface RaftClient extends Closeable
| 限定符和类型 | 接口和说明 |
|---|---|
static class |
RaftClient.Builder
To build
RaftClient objects. |
| 限定符和类型 | 字段和说明 |
|---|---|
static org.slf4j.Logger |
LOG |
| 限定符和类型 | 方法和说明 |
|---|---|
AdminApi |
admin() |
AsyncApi |
async()
Get the
AsyncApi. |
RaftClientRpc |
getClientRpc() |
DataStreamApi |
getDataStreamApi() |
RaftGroupId |
getGroupId() |
GroupManagementApi |
getGroupManagementApi(RaftPeerId server)
Get the
GroupManagementApi for the given server. |
ClientId |
getId() |
LeaderElectionManagementApi |
getLeaderElectionManagementApi(RaftPeerId server)
Get the
LeaderElectionManagementApi for the given server. |
RaftPeerId |
getLeaderId() |
MessageStreamApi |
getMessageStreamApi() |
SnapshotManagementApi |
getSnapshotManagementApi()
Get the
SnapshotManagementApi for the given server. |
SnapshotManagementApi |
getSnapshotManagementApi(RaftPeerId server)
Get the
SnapshotManagementApi for the given server. |
BlockingApi |
io() |
static RaftClient.Builder |
newBuilder() |
ClientId getId()
RaftGroupId getGroupId()
RaftPeerId getLeaderId()
RaftClientRpc getClientRpc()
RaftClientRpc.GroupManagementApi getGroupManagementApi(RaftPeerId server)
GroupManagementApi for the given server.SnapshotManagementApi getSnapshotManagementApi()
SnapshotManagementApi for the given server.SnapshotManagementApi getSnapshotManagementApi(RaftPeerId server)
SnapshotManagementApi for the given server.LeaderElectionManagementApi getLeaderElectionManagementApi(RaftPeerId server)
LeaderElectionManagementApi for the given server.BlockingApi io()
BlockingApi.MessageStreamApi getMessageStreamApi()
MessageStreamApi.DataStreamApi getDataStreamApi()
DataStreamApi.static RaftClient.Builder newBuilder()
RaftClient.Builder.Copyright © 2017–2025 The Apache Software Foundation. All rights reserved.