Class TopologyBroker
- java.lang.Object
-
- io.camunda.zeebe.test.broker.protocol.brokerapi.data.TopologyBroker
-
public final class TopologyBroker extends Object
-
-
Constructor Summary
Constructors Constructor Description TopologyBroker(int nodeId, String host, int port)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TopologyBrokeraddPartition(BrokerPartitionState brokerPartitionState)booleanequals(Object o)StringgetHost()intgetNodeId()Set<BrokerPartitionState>getPartitions()intgetPort()inthashCode()StringtoString()
-
-
-
Field Detail
-
nodeId
protected final int nodeId
-
host
protected final String host
-
port
protected final int port
-
-
Constructor Detail
-
TopologyBroker
public TopologyBroker(int nodeId, String host, int port)
-
-
Method Detail
-
getNodeId
public int getNodeId()
-
getHost
public String getHost()
-
getPort
public int getPort()
-
getPartitions
public Set<BrokerPartitionState> getPartitions()
-
addPartition
public TopologyBroker addPartition(BrokerPartitionState brokerPartitionState)
-
-