public class Frequency
extends java.lang.Object
Frequencies
compound statistic.Constructor and Description |
---|
Frequency(MetricName name,
double centerValue)
Create an instance with the given name and center point value.
|
Modifier and Type | Method and Description |
---|---|
double |
centerValue()
Get the value of this metrics center point.
|
MetricName |
name()
Get the name of this metric.
|
public Frequency(MetricName name, double centerValue)
name
- the name of the frequency metric; may not be nullcenterValue
- the value identifying the Frequencies
bucket to be reportedpublic MetricName name()
public double centerValue()