public class PartitionEntity extends Entity<java.lang.String>
Entity
class used by MetricSampleAggregator
Constructor and Description |
---|
PartitionEntity(org.apache.kafka.common.TopicPartition tp) |
Modifier and Type | Method and Description |
---|---|
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.
|
org.apache.kafka.common.TopicPartition |
tp() |
public PartitionEntity(org.apache.kafka.common.TopicPartition tp)
public java.lang.String group()
Entity
public org.apache.kafka.common.TopicPartition tp()
public int hashCode()
Entity