public class PartitionEntity extends Entity<String>
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()
Note that the group will be used as keys of maps.
|
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)
public String group()
Entity
public org.apache.kafka.common.TopicPartition tp()
public int hashCode()
Entity