public final class BoundedRangeStatisticImpl extends StatisticImpl implements BoundedRangeStatistic, InvocationHandler
LAST_SAMPLE_TIME, NEWLINE, sampleTime, START_TIME, statMap, UNIT_COUNT, UNIT_MICROSECOND, UNIT_MILLISECOND, UNIT_NANOSECOND, UNIT_SECOND| Constructor and Description |
|---|
BoundedRangeStatisticImpl(long curVal,
long highMark,
long lowMark,
long upper,
long lower,
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()
The highest value this attribute has held since the beginninYg of the measurement.
|
long |
getLowerBound()
The lower limit of the value of this attribute.The upper limit of the value of this attribute.
|
long |
getLowWaterMark()
The lowest value this attribute has held since the beginning of the measurement.
|
Map |
getStaticAsMap() |
BoundedRangeStatistic |
getStatistic() |
long |
getUpperBound()
The upper limit of the value of this attribute.
|
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 String toString()
toString in class StatisticImplpublic BoundedRangeStatistic getStatistic()
public Map getStaticAsMap()
getStaticAsMap in class StatisticImplpublic long getCurrent()
RangeStatisticgetCurrent in interface RangeStatisticpublic void setCurrent(long curVal)
public long getHighWaterMark()
RangeStatisticgetHighWaterMark in interface RangeStatisticpublic void setHighWaterMark(long hwm)
public long getLowWaterMark()
RangeStatisticgetLowWaterMark in interface RangeStatisticpublic void setLowWaterMark(long lwm)
public long getLowerBound()
BoundaryStatisticgetLowerBound in interface BoundaryStatisticpublic long getUpperBound()
BoundaryStatisticgetUpperBound in interface BoundaryStatisticpublic void reset()
reset in class StatisticImplCopyright © 2017-2019 Eclipse Foundation. All Rights Reserved.