Package org.apache.kafka.common.metrics
Class KafkaMetric
java.lang.Object
org.apache.kafka.common.metrics.KafkaMetric
- All Implemented Interfaces:
 Metric
- 
Constructor Summary
ConstructorsConstructorDescriptionKafkaMetric(Object lock, MetricName metricName, MetricValueProvider<?> valueProvider, MetricConfig config, org.apache.kafka.common.utils.Time time)  - 
Method Summary
Modifier and TypeMethodDescriptionconfig()voidconfig(MetricConfig config) A name for this metricThe value of the metric, which may be measurable or a non-measurable gauge 
- 
Constructor Details
- 
KafkaMetric
public KafkaMetric(Object lock, MetricName metricName, MetricValueProvider<?> valueProvider, MetricConfig config, org.apache.kafka.common.utils.Time time)  
 - 
 - 
Method Details
- 
config
 - 
metricName
Description copied from interface:MetricA name for this metric- Specified by:
 metricNamein interfaceMetric
 - 
metricValue
Description copied from interface:MetricThe value of the metric, which may be measurable or a non-measurable gauge- Specified by:
 metricValuein interfaceMetric
 - 
measurable
 - 
config
 
 -