public class BrokerEntity extends Entity<String>
Entity
class used by MetricSampleAggregator
for brokers.Constructor and Description |
---|
BrokerEntity(String host,
int brokerId) |
Modifier and Type | Method and Description |
---|---|
int |
brokerId() |
boolean |
equals(Object other)
The entity will be used as a key of a map.
|
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.
|
String |
host() |
String |
toString() |
public BrokerEntity(String host, int brokerId)
public int brokerId()
public String host()
public String group()
Entity
public int hashCode()
Entity
public boolean equals(Object other)
Entity