public interface RoutingTable
| 限定符和类型 | 接口和说明 |
|---|---|
static class |
RoutingTable.Builder
To build a
RoutingTable. |
| 限定符和类型 | 方法和说明 |
|---|---|
Set<RaftPeerId> |
getSuccessors(RaftPeerId peerId) |
static RoutingTable.Builder |
newBuilder() |
static RoutingTable |
newRoutingTable(Map<RaftPeerId,Set<RaftPeerId>> map) |
org.apache.ratis.proto.RaftProtos.RoutingTableProto |
toProto() |
Set<RaftPeerId> getSuccessors(RaftPeerId peerId)
org.apache.ratis.proto.RaftProtos.RoutingTableProto toProto()
RoutingTable.static RoutingTable.Builder newBuilder()
RoutingTable.static RoutingTable newRoutingTable(Map<RaftPeerId,Set<RaftPeerId>> map)
RoutingTable represented by the given map.Copyright © 2017–2023 The Apache Software Foundation. All rights reserved.