com.ibm.websphere.monitor.jmx

Class StatisticsMeter

  1. java.lang.Object
  2. extended bycom.ibm.websphere.monitor.meters.Meter
  3. extended bycom.ibm.websphere.monitor.jmx.StatisticsMeter

  1. public class StatisticsMeter
  2. extends com.ibm.websphere.monitor.meters.Meter
A meter that maintains distribution statistics about the data added to the meter.

Constructor Summary

Constructor and 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

Modifier and Type Method and Description
  1. long
getCount()
Get the number of data points that have been added to this meter.
  1. long
getMaximumValue()
Get the maximum data point value added to this meter.
  1. double
getMean()
Get the mean or average of the data points added to this meter.
  1. long
getMinimumValue()
Get the minimum data point value added to this meter.
  1. StatisticsReading
getReading()
  1. double
getStandardDeviation()
Get the standard deviation of the data points added to this meter.
  1. double
getTotal()
Get the total or sum of the data points added to this meter.
  1. double
getVariance()
Get the variance of the data points added to this meter.
Methods inherited from class com.ibm.websphere.monitor.meters.Meter
getDescription, getUnit, setDescription, setUnit
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

StatisticsMeter

  1. public StatisticsMeter()
Default constructor.

StatisticsMeter

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

Method Detail

getMinimumValue

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

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

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

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

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

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

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

  1. public StatisticsReading getReading( )
Returns:
a snapshot of distribution statistics of the meter