Package org.apache.kafka.common
Class CellLoad
java.lang.Object
org.apache.kafka.common.CellLoad
Represents load information about a cell.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CellLoad
public CellLoad(int cellId, double load) Represents load information about a cell.- Parameters:
cellId
- the cell idload
- composite load of this cell (incorporating broker load, network limit, storage and CPU limits etc.)
-
-
Method Details
-
cellId
public int cellId()The unique cell Id- Returns:
- cell ID
-
load
public double load()Return the composite load of this cell (incorporating broker load, network limit, storage and CPU limits etc.)- Returns:
- cell load
-
equals
-
hashCode
public int hashCode() -
toString
-