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, isValidString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDescription, getLastSampleTime, getName, getStartTime, getUnit
public RangeStatistic getStatistic()
public Map getStaticAsMap()
getStaticAsMap
in class StatisticImpl
public long getCurrent()
RangeStatistic
getCurrent
in interface RangeStatistic
public void setCurrent(long curVal)
public long getHighWaterMark()
getHighWaterMark
in interface RangeStatistic
public void setHighWaterMark(long hwm)
public long getLowWaterMark()
getLowWaterMark
in interface RangeStatistic
public void setLowWaterMark(long lwm)
public void reset()
reset
in class StatisticImpl
public String toString()
toString
in class StatisticImpl
Copyright © 2017 Oracle. All rights reserved.