javax.slee.usage
Interface SampleStatistics


public interface SampleStatistics

This interface provides basic statistical information for a sample-type SBB usage parameter.


Method Summary
 long getMaximum()
          Get the maximum sample value recorded for the usage parameter since either the service was deployed or the usage parameter was last reset (whichever occurred most recently).
 double getMean()
          Get the mean of sample values recorded for the usage parameter since either the service was deployed or the usage parameter was last reset (whichever occurred most recently).
 long getMinimum()
          Get the minimum sample value recorded for the usage parameter since either the service was deployed or the usage parameter was last reset (whichever occurred most recently).
 long getSampleCount()
          Get the number of samples recorded for the usage parameter since either the service was deployed or the usage parameter was last reset (whichever occurred most recently).
 

Method Detail

getSampleCount

public long getSampleCount()
Get the number of samples recorded for the usage parameter since either the service was deployed or the usage parameter was last reset (whichever occurred most recently).
Returns:
the number of samples recorded.

getMinimum

public long getMinimum()
Get the minimum sample value recorded for the usage parameter since either the service was deployed or the usage parameter was last reset (whichever occurred most recently).
Returns:
the minimum sample value. This will be equal to Long.MAX_VALUE if no samples have yet been recorded.

getMaximum

public long getMaximum()
Get the maximum sample value recorded for the usage parameter since either the service was deployed or the usage parameter was last reset (whichever occurred most recently).
Returns:
the maximum sample value. This will be equal to Long.MIN_VALUE if no samples have yet been recorded.

getMean

public double getMean()
Get the mean of sample values recorded for the usage parameter since either the service was deployed or the usage parameter was last reset (whichever occurred most recently).
Returns:
the mean of sample values. This will be equal to 0.0 if no samples have yet been recorded.