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