org.apache.kafka.common
Interface Metric

All Known Implementing Classes:
KafkaMetric

public interface Metric

A numerical metric tracked for monitoring purposes


Method Summary
 java.lang.String description()
          A description of what is measured...this will be "" if no description was given
 java.lang.String name()
          A unique name for this metric
 double value()
          The value of the metric
 

Method Detail

name

java.lang.String name()
A unique name for this metric


description

java.lang.String description()
A description of what is measured...this will be "" if no description was given


value

double value()
The value of the metric