public class PartitionMetricSample extends MetricSample<PartitionEntity>
entity, sampleCloseTime, sampleOpenTime, valuesByMetricId
Constructor and Description |
---|
PartitionMetricSample(int brokerId,
org.apache.kafka.common.TopicPartition tp) |
Modifier and Type | Method and Description |
---|---|
int |
brokerId()
The id of the broker from which the metrics are from.
|
String |
toString() |
allMetricValues, close, entity, isValid, metricDefForToString, metricValue, open, record, sampleCloseTime, sampleOpenTime
public PartitionMetricSample(int brokerId, org.apache.kafka.common.TopicPartition tp)
public int brokerId()
public String toString()
toString
in class MetricSample<PartitionEntity>