public class PartitionEntity extends Entity
Entity
class used by MetricSampleAggregator
Constructor and Description |
---|
PartitionEntity(org.apache.kafka.common.TopicPartition tp) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
The entity will be used as a key of a map.
|
String |
group() |
int |
hashCode()
The entity will be used as a key of a map.
|
org.apache.kafka.common.TopicPartition |
tp() |
public PartitionEntity(org.apache.kafka.common.TopicPartition tp)