Java EE 5 SDK

javax.management.j2ee.statistics
Interface RangeStatistic

All Superinterfaces:
Statistic
All Known Subinterfaces:
BoundedRangeStatistic
All Known Implementing Classes:
BoundedRangeStatisticImpl, RangeStatisticImpl

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.


Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.