javax.management.j2ee.statistics
Interface RangeStatistic

All Superinterfaces:
Statistic
All Known Subinterfaces:
BoundedRangeStatistic

public interface RangeStatistic
extends Statistic

Specifies standard measurements of the lowest and highest values an attribute has held as well as its current value.

Version:
$Revision: 1.1 $
Author:
Laurent Etiemble

Method Summary
 long getCurrent()
          Returns the current value of this attribute.
 long getHighWaterMark()
          Returns the highest value this attribute has held since the beginning of the measurement.
 long getLowWaterMark()
          Returns the lowest value this attribute has held since the beginning of the measurement.
 
Methods inherited from interface javax.management.j2ee.statistics.Statistic
getDescription, getLastSampleTime, getName, getStartTime, getUnit
 

Method Detail

getHighWaterMark

public long getHighWaterMark()
Returns the highest value this attribute has held since the beginning of the measurement.

Returns:
The high water mark value

getLowWaterMark

public long getLowWaterMark()
Returns the lowest value this attribute has held since the beginning of the measurement.

Returns:
The low water mark value

getCurrent

public long getCurrent()
Returns the current value of this attribute.

Returns:
The current value


Copyright © 2002-2003 EJTools Org.. All Rights Reserved.