Package com.ibm.websphere.monitor.jmx
Class StatisticsReading
java.lang.Object
com.ibm.websphere.monitor.jmx.StatisticsReading
Represents a snapshot of a 
StatisticsMeter. A StatisticsReading holds the current values of the StatisticsMeter at the time
 it was obtained and will not change.- 
Constructor SummaryConstructorsConstructorDescriptionStatisticsReading(long timestamp, long count, long min, long max, double total, double mean, double variance, double stddev, String unit) Constructor used during construction of proxy objects for MXBeans.
- 
Method SummaryModifier and TypeMethodDescriptionlonggetCount()Get the number of data points that had been added to the meter at the time the reading was taken.longGet the maximum data point value that had been added to the meter at the time this reading was taken.doublegetMean()Get the mean or average of the data points that had been added to the meter at the time this reading was taken.longGet the minimum data point value that had been added to the meter at the time this reading was taken.doubleGet the standard deviation of the data points that had been added to the meter at the time this reading was taken.longdoublegetTotal()Get the total or sum of the data points that had been added to the meter at the time this reading was taken.getUnit()doubleGet the variance of the data points that had been added to the meter at the time this reading was taken.
- 
Constructor Details- 
StatisticsReading@ConstructorProperties({"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, String unit) Constructor used during construction of proxy objects for MXBeans.
 
- 
- 
Method Details- 
getTimestamppublic long getTimestamp()- Returns:
- timestamp of the statistics reading
 
- 
getCountpublic long getCount()Get the number of data points that had been added to the meter at the time the reading was taken.- Returns:
- the number of data points
 
- 
getMinimumValuepublic long getMinimumValue()Get the minimum data point value that had been added to the meter at the time this reading was taken.- Returns:
- the minimum data point or 0 if no data points had been added
 
- 
getMaximumValuepublic long getMaximumValue()Get the maximum data point value that had been added to the meter at the time this reading was taken.- Returns:
- the maximum data point or 0 if no data points had been added
 
- 
getTotalpublic 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.- Returns:
- the total or sum of the data points
 
- 
getMeanpublic 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.- Returns:
- the mean or average of the data points
 
- 
getVariancepublic double getVariance()Get the variance of the data points that had been added to the meter at the time this reading was taken.- Returns:
- the variance of the data
 
- 
getStandardDeviationpublic double getStandardDeviation()Get the standard deviation of the data points that had been added to the meter at the time this reading was taken.- Returns:
- the standard deviation of the data
 
- 
getUnit- Returns:
- unit of measurement of the data points
 
 
-