public class BrokerEntity extends Entity<java.lang.String>
Entity
class used by MetricSampleAggregator
for brokers.Constructor and Description |
---|
BrokerEntity(java.lang.String host,
int brokerId) |
Modifier and Type | Method and Description |
---|---|
int |
brokerId() |
boolean |
equals(java.lang.Object other)
The entity will be used as a key of a map.
|
java.lang.String |
group()
Note that the group will be used as keys of maps.
|
int |
hashCode()
The entity will be used as a key of a map.
|
java.lang.String |
host() |
java.lang.String |
toString() |
public int brokerId()
public java.lang.String host()
public java.lang.String group()
Entity
public int hashCode()
Entity
public boolean equals(java.lang.Object other)
Entity
public java.lang.String toString()
toString
in class java.lang.Object