Package com.ibm.websphere.monitor.jmx
Class StatisticsMeter
- java.lang.Object
-
- com.ibm.websphere.monitor.jmx.Meter
-
- com.ibm.websphere.monitor.jmx.StatisticsMeter
-
public class StatisticsMeter extends Meter
A meter that maintains distribution statistics about the data added to the meter.
-
-
Constructor Summary
Constructors Constructor Description StatisticsMeter()
Default constructor.StatisticsMeter(long minimumValue, long maximumValue, long count, double mean, double variance, double standardDeviation, double total, StatisticsReading reading, java.lang.String description, java.lang.String unit)
Constructor used during construction of proxy objects for MXBeans.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getCount()
Get the number of data points that have been added to this meter.long
getMaximumValue()
Get the maximum data point value added to this meter.double
getMean()
Get the mean or average of the data points added to this meter.long
getMinimumValue()
Get the minimum data point value added to this meter.StatisticsReading
getReading()
double
getStandardDeviation()
Get the standard deviation of the data points added to this meter.double
getTotal()
Get the total or sum of the data points added to this meter.double
getVariance()
Get the variance of the data points added to this meter.-
Methods inherited from class com.ibm.websphere.monitor.jmx.Meter
getDescription, getUnit, setDescription, setUnit
-
-
-
-
Constructor Detail
-
StatisticsMeter
public StatisticsMeter()
Default constructor.
-
StatisticsMeter
@ConstructorProperties({"minimumValue","maximumValue","count","mean","variance","standardDeviation","total","reading","description","unit"}) public StatisticsMeter(long minimumValue, long maximumValue, long count, double mean, double variance, double standardDeviation, double total, StatisticsReading reading, java.lang.String description, java.lang.String unit)
Constructor used during construction of proxy objects for MXBeans.
-
-
Method Detail
-
getMinimumValue
public long getMinimumValue()
Get the minimum data point value added to this meter.- Returns:
- the minimum data point added to the meter or 0 if no data points have been added
-
getMaximumValue
public long getMaximumValue()
Get the maximum data point value added to this meter.- Returns:
- the maximum data point added to the meter or 0 if no data points have been added
-
getTotal
public double getTotal()
Get the total or sum of the data points added to this meter.- Returns:
- the total or sum of the data points added to this meter
-
getMean
public double getMean()
Get the mean or average of the data points added to this meter.- Returns:
- the mean or average of the data points added to this meter
-
getVariance
public double getVariance()
Get the variance of the data points added to this meter.- Returns:
- the variance of the data added to this meter
-
getStandardDeviation
public double getStandardDeviation()
Get the standard deviation of the data points added to this meter.- Returns:
- the standard deviation of the data added to this meter
-
getCount
public long getCount()
Get the number of data points that have been added to this meter.- Returns:
- the number of data points added to this meter
-
getReading
public StatisticsReading getReading()
- Returns:
- a snapshot of distribution statistics of the meter
-
-