Package com.ibm.websphere.monitor.jmx
Class StatisticsMeter
java.lang.Object
com.ibm.websphere.monitor.jmx.Meter
com.ibm.websphere.monitor.jmx.StatisticsMeter
A meter that maintains distribution statistics about the data added
to the meter.
-
Constructor Summary
ConstructorDescriptionDefault constructor.StatisticsMeter
(long minimumValue, long maximumValue, long count, double mean, double variance, double standardDeviation, double total, StatisticsReading reading, String description, String unit) Constructor used during construction of proxy objects for MXBeans. -
Method Summary
Modifier and TypeMethodDescriptionlong
getCount()
Get the number of data points that have been added to this meter.long
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
Get the minimum data point value added to this meter.double
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
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 Details
-
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, String description, String unit) Constructor used during construction of proxy objects for MXBeans.
-
-
Method Details
-
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
- Returns:
- a snapshot of distribution statistics of the meter
-