Class BrokerCapacity
- java.lang.Object
-
- io.strimzi.api.kafka.model.balancing.BrokerCapacity
-
- All Implemented Interfaces:
UnknownPropertyPreserving,Serializable
public class BrokerCapacity extends Object implements UnknownPropertyPreserving, Serializable
Representation of the Cruise Control broker capacity settings. Since the Kafka brokers in Strimzi are homogeneous, the capacity values for each resource will be used for every broker.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BrokerCapacity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>getAdditionalProperties()IntegergetCpuUtilization()StringgetDisk()StringgetInboundNetwork()StringgetOutboundNetwork()voidsetAdditionalProperty(String name, Object value)voidsetCpuUtilization(Integer cpuUtilization)voidsetDisk(String disk)voidsetInboundNetwork(String inboundNetwork)voidsetOutboundNetwork(String outboundNetwork)
-
-
-
Method Detail
-
getDisk
public String getDisk()
-
setDisk
public void setDisk(String disk)
-
getCpuUtilization
public Integer getCpuUtilization()
-
setCpuUtilization
public void setCpuUtilization(Integer cpuUtilization)
-
getInboundNetwork
public String getInboundNetwork()
-
setInboundNetwork
public void setInboundNetwork(String inboundNetwork)
-
getOutboundNetwork
public String getOutboundNetwork()
-
setOutboundNetwork
public void setOutboundNetwork(String outboundNetwork)
-
getAdditionalProperties
public Map<String,Object> getAdditionalProperties()
- Specified by:
getAdditionalPropertiesin interfaceUnknownPropertyPreserving
-
setAdditionalProperty
public void setAdditionalProperty(String name, Object value)
- Specified by:
setAdditionalPropertyin interfaceUnknownPropertyPreserving
-
-