Package org.glassfish.j2ee.statistics
Interface RangeStatistic
-
- All Superinterfaces:
Statistic
- All Known Subinterfaces:
AverageRangeStatistic
,BoundedRangeStatistic
- All Known Implementing Classes:
AverageRangeStatisticImpl
,BoundedRangeStatisticImpl
,MutableAverageRangeStatisticImpl
,MutableBoundedRangeStatisticImpl
,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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 org.glassfish.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.
-
-