public final class AverageRangeStatisticImpl extends StatisticImpl implements AverageRangeStatistic, InvocationHandler
LAST_SAMPLE_TIME, NEWLINE, sampleTime, START_TIME, statMap, UNIT_COUNT, UNIT_MICROSECOND, UNIT_MILLISECOND, UNIT_NANOSECOND, UNIT_SECOND| Constructor and Description |
|---|
AverageRangeStatisticImpl(long curVal,
long highMark,
long lowMark,
String name,
String unit,
String desc,
long startTime,
long sampleTime) |
| Modifier and Type | Method and Description |
|---|---|
long |
getAverage() |
long |
getCurrent()
The current value of this attribute.
|
long |
getHighWaterMark()
The highest value this attribute has held since the beginninYg of the measurement.
|
long |
getLowWaterMark()
The lowest value this attribute has held since the beginning of the measurement.
|
Map |
getStaticAsMap() |
AverageRangeStatistic |
getStatistic() |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
void |
reset() |
void |
setCurrent(long curVal) |
String |
toString() |
checkMethod, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isValidStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDescription, getLastSampleTime, getName, getStartTime, getUnitpublic AverageRangeStatistic getStatistic()
public String toString()
toString in class StatisticImplpublic Map getStaticAsMap()
getStaticAsMap in class StatisticImplpublic void reset()
reset in class StatisticImplpublic long getAverage()
getAverage in interface AverageRangeStatisticpublic long getCurrent()
RangeStatisticgetCurrent in interface RangeStatisticpublic void setCurrent(long curVal)
public long getHighWaterMark()
RangeStatisticgetHighWaterMark in interface RangeStatisticpublic long getLowWaterMark()
RangeStatisticgetLowWaterMark in interface RangeStatisticCopyright © 2017-2019 Eclipse Foundation. All Rights Reserved.