com.ibm.websphere.pmi.stat
Interface WSAverageStatistic

All Superinterfaces:
WSStatistic
All Known Subinterfaces:
SPIAverageStatistic, SPITimeStatistic, WSTimeStatistic

public interface WSAverageStatistic
extends WSStatistic

WebSphere Average statistic to represent a simple average.


Method Summary
 long getCount()
          Returns the number of samples involved in this statistic.
 long getMax()
          Returns the maximum value of all the samples.
 double getMean()
          Returns the mean or average (getTotal() divided by getCount()).
 long getMin()
          Returns the minimum value of all the samples.
 double getSumOfSquares()
          Returns the sum-of-squares of the values of all the samples.
 long getTotal()
          Returns the sum of the values of all the samples.
 
Methods inherited from interface com.ibm.websphere.pmi.stat.WSStatistic
combine, copy, delta, getDataInfo, getDescription, getId, getLastSampleTime, getName, getStartTime, getUnit, rateOfChange, resetOnClient, setDataInfo, setDataInfo, toString, toXML, update
 

Method Detail

getCount

public long getCount()
Returns the number of samples involved in this statistic.


getTotal

public long getTotal()
Returns the sum of the values of all the samples.


getMean

public double getMean()
Returns the mean or average (getTotal() divided by getCount()).


getMin

public long getMin()
Returns the minimum value of all the samples.


getMax

public long getMax()
Returns the maximum value of all the samples.


getSumOfSquares

public double getSumOfSquares()
Returns the sum-of-squares of the values of all the samples.