Class Topology
- java.lang.Object
-
- io.camunda.zeebe.test.broker.protocol.brokerapi.data.Topology
-
public final class Topology extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<Integer,TopologyBroker>brokers
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TopologyaddLeader(int nodeId, InetSocketAddress address, int partition)TopologyaddLeader(StubBrokerRule brokerRule, int partition)Set<TopologyBroker>getBrokers()StringtoString()
-
-
-
Field Detail
-
brokers
protected Map<Integer,TopologyBroker> brokers
-
-
Constructor Detail
-
Topology
public Topology()
-
Topology
public Topology(Topology other)
-
-
Method Detail
-
addLeader
public Topology addLeader(StubBrokerRule brokerRule, int partition)
-
addLeader
public Topology addLeader(int nodeId, InetSocketAddress address, int partition)
-
getBrokers
public Set<TopologyBroker> getBrokers()
-
-