Package org.apache.kafka.common
Interface Metric
-
- All Known Implementing Classes:
KafkaMetric
public interface Metric
A metric tracked for monitoring purposes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetricName
metricName()
A name for this metricObject
metricValue()
The value of the metric, which may be measurable or a non-measurable gauge
-
-
-
Method Detail
-
metricName
MetricName metricName()
A name for this metric
-
metricValue
Object metricValue()
The value of the metric, which may be measurable or a non-measurable gauge
-
-