Class Frequency
java.lang.Object
org.apache.kafka.common.metrics.stats.Frequency
Definition of a frequency metric used in a
Frequencies compound statistic.Constructor Summary
ConstructorsConstructorDescriptionFrequency(MetricName name, double centerValue) Create an instance with the given name and center point value.Method Summary
Constructor Details
Frequency
Create an instance with the given name and center point value.- Parameters:
name- the name of the frequency metric; may not be nullcenterValue- the value identifying theFrequenciesbucket to be reported
Method Details
name
centerValue
public double centerValue()Get the value of this metrics center point.- Returns:
- the center point value
toString