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 SummaryConstructorsConstructorDescriptionDefault 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 SummaryModifier and TypeMethodDescriptionlonggetCount()Get the number of data points that have been added to this meter.longGet the maximum data point value added to this meter.doublegetMean()Get the mean or average of the data points added to this meter.longGet the minimum data point value added to this meter.doubleGet the standard deviation of the data points added to this meter.doublegetTotal()Get the total or sum of the data points added to this meter.doubleGet the variance of the data points added to this meter.Methods inherited from class com.ibm.websphere.monitor.jmx.MetergetDescription, getUnit, setDescription, setUnit
- 
Constructor Details- 
StatisticsMeterpublic 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- 
getMinimumValuepublic 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
 
- 
getMaximumValuepublic 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
 
- 
getTotalpublic 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
 
- 
getMeanpublic 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
 
- 
getVariancepublic double getVariance()Get the variance of the data points added to this meter.- Returns:
- the variance of the data added to this meter
 
- 
getStandardDeviationpublic 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
 
- 
getCountpublic 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
 
 
-