Class BrokerInfoImpl
- java.lang.Object
-
- io.camunda.zeebe.client.impl.response.BrokerInfoImpl
-
- All Implemented Interfaces:
BrokerInfo
public final class BrokerInfoImpl extends Object implements BrokerInfo
-
-
Constructor Summary
Constructors Constructor Description BrokerInfoImpl(GatewayOuterClass.BrokerInfo broker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAddress()StringgetHost()intgetNodeId()List<PartitionInfo>getPartitions()intgetPort()StringgetVersion()StringtoString()
-
-
-
Constructor Detail
-
BrokerInfoImpl
public BrokerInfoImpl(GatewayOuterClass.BrokerInfo broker)
-
-
Method Detail
-
getNodeId
public int getNodeId()
- Specified by:
getNodeIdin interfaceBrokerInfo- Returns:
- the node if of the broker
-
getHost
public String getHost()
- Specified by:
getHostin interfaceBrokerInfo- Returns:
- the address host of the broker
-
getPort
public int getPort()
- Specified by:
getPortin interfaceBrokerInfo- Returns:
- the address port of the broker
-
getAddress
public String getAddress()
- Specified by:
getAddressin interfaceBrokerInfo- Returns:
- the address (host+port) of the broker
-
getVersion
public String getVersion()
- Specified by:
getVersionin interfaceBrokerInfo- Returns:
- the version of the broker
-
getPartitions
public List<PartitionInfo> getPartitions()
- Specified by:
getPartitionsin interfaceBrokerInfo- Returns:
- all partitions of the broker
-
-