com.ibm.websphere.monitor.jmx

Class StatisticsReading

  1. java.lang.Object
  2. extended bycom.ibm.websphere.monitor.jmx.StatisticsReading

  1. public class StatisticsReading
  2. extends java.lang.Object
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 Summary

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.

Method Summary

Modifier and Type Method and Description
  1. long
getCount()
Get the number of data points that had been added to the meter at the time the reading was taken.
  1. long
getMaximumValue()
Get the maximum data point value that had been added to the meter at the time this reading was taken.
  1. 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.
  1. long
getMinimumValue()
Get the minimum data point value that had been added to the meter at the time this reading was taken.
  1. double
getStandardDeviation()
Get the standard deviation of the data points that had been added to the meter at the time this reading was taken.
  1. long
getTimestamp()
  1. 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.
  1. java.lang.String
getUnit()
  1. double
getVariance()
Get the variance of the data points that had been added to the meter at the time this reading was taken.
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

StatisticsReading

  1. @ConstructorProperties(value={"timestamp","count","minimumValue","maximumValue","total","mean","variance","standardDeviation","unit"})
  2. public StatisticsReading( long timestamp,
  3. long count,
  4. long min,
  5. long max,
  6. double total,
  7. double mean,
  8. double variance,
  9. double stddev,
  10. java.lang.String unit)
Constructor used during construction of proxy objects for MXBeans.

Method Detail

getTimestamp

  1. public long getTimestamp()
Returns:
timestamp of the statistics reading

getCount

  1. public 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

getMinimumValue

  1. public 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

getMaximumValue

  1. public 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

getTotal

  1. public 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

getMean

  1. public 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

getVariance

  1. public 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

getStandardDeviation

  1. public 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

  1. public java.lang.String getUnit( )
Returns:
unit of measurement of the data points