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.


Method Summary
 long getCurrent()
          The current value of this attribute.
 long getHighWaterMark()
          The highest value this attribute has held since the beginning of the measurement.
 long getLowWaterMark()
          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

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


getLowWaterMark

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


getCurrent

long getCurrent()
The current value of this attribute.



Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.