public interface RoutingTable
| Modifier and Type | Interface and Description |
|---|---|
static class |
RoutingTable.Builder
To build a
RoutingTable. |
| Modifier and Type | Method and Description |
|---|---|
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–2022 The Apache Software Foundation. All rights reserved.