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