public class ReplicaMetricSample extends MetricSample<String,ReplicaEntity>
entity, sampleTime, valuesByMetricId
Constructor and Description |
---|
ReplicaMetricSample(int brokerId,
org.apache.kafka.common.TopicPartition tp,
boolean isLeader) |
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, record, sampleTime
public ReplicaMetricSample(int brokerId, org.apache.kafka.common.TopicPartition tp, boolean isLeader)
public int brokerId()
public String toString()
toString
in class MetricSample<String,ReplicaEntity>