public class StatisticsReading
extends java.lang.Object
StatisticsMeter
. A StatisticsReading holds the current values of the StatisticsMeter at the time
it was obtained and will not change.Constructor and Description |
---|
StatisticsReading(long timestamp,
long count,
long min,
long max,
double total,
double mean,
double variance,
double stddev,
java.lang.String unit)
Constructor used during construction of proxy objects for MXBeans.
|
Modifier and Type | Method and Description |
---|---|
long |
getCount()
Get the number of data points that had been added to the meter at the time the reading was taken.
|
long |
getMaximumValue()
Get the maximum data point value that had been added to the meter at the time this reading was taken.
|
double |
getMean()
Get the mean or average of the data points that had been added to the meter at the time this reading was taken.
|
long |
getMinimumValue()
Get the minimum data point value that had been added to the meter at the time this reading was taken.
|
double |
getStandardDeviation()
Get the standard deviation of the data points that had been added to the meter at the time this reading was taken.
|
long |
getTimestamp() |
double |
getTotal()
Get the total or sum of the data points that had been added to the meter at the time this reading was taken.
|
java.lang.String |
getUnit() |
double |
getVariance()
Get the variance of the data points that had been added to the meter at the time this reading was taken.
|
@ConstructorProperties(value={"timestamp","count","minimumValue","maximumValue","total","mean","variance","standardDeviation","unit"}) public StatisticsReading(long timestamp, long count, long min, long max, double total, double mean, double variance, double stddev, java.lang.String unit)
public long getTimestamp()
public long getCount()
public long getMinimumValue()
public long getMaximumValue()
public double getTotal()
public double getMean()
public double getVariance()
public double getStandardDeviation()
public java.lang.String getUnit()