public final class BoundedRangeStatisticImpl extends StatisticImpl implements BoundedRangeStatistic, java.lang.reflect.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,
java.lang.String name,
java.lang.String unit,
java.lang.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.
|
java.util.Map |
getStaticAsMap() |
BoundedRangeStatistic |
getStatistic() |
long |
getUpperBound()
The upper limit of the value of this attribute.
|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method m,
java.lang.Object[] args) |
void |
reset() |
void |
setCurrent(long curVal) |
void |
setHighWaterMark(long hwm) |
void |
setLowWaterMark(long lwm) |
java.lang.String |
toString() |
getDescription, getLastSampleTime, getName, getStartTime, getUnit, isValidString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDescription, getLastSampleTime, getName, getStartTime, getUnit
public BoundedRangeStatisticImpl(long curVal, long highMark, long lowMark, long upper, long lower, java.lang.String name, java.lang.String unit, java.lang.String desc, long startTime, long sampleTime)
public java.lang.String toString()
toString
in class StatisticImpl
public BoundedRangeStatistic getStatistic()
public java.util.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
public java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method m, java.lang.Object[] args) throws java.lang.Throwable
invoke
in interface java.lang.reflect.InvocationHandler
java.lang.Throwable