public final class BoundedRangeStatisticImpl extends StatisticImpl implements BoundedRangeStatistic, java.lang.reflect.InvocationHandler
| Modifier and Type | Field and Description |
|---|---|
private BoundedRangeStatistic |
bs |
private long |
currentVal |
private long |
highWaterMark |
private long |
initCurrentVal |
private long |
initHighWaterMark |
private long |
initLowerBound |
private long |
initLowWaterMark |
private long |
initUpperBound |
private long |
lowerBound |
private long |
lowWaterMark |
private long |
upperBound |
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() |
checkMethod, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isValidStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDescription, getLastSampleTime, getName, getStartTime, getUnitprivate long lowerBound
private long upperBound
private long currentVal
private long highWaterMark
private long lowWaterMark
private final long initLowerBound
private final long initUpperBound
private final long initCurrentVal
private final long initHighWaterMark
private final long initLowWaterMark
private final BoundedRangeStatistic bs
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 StatisticImplpublic BoundedRangeStatistic getStatistic()
public java.util.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 StatisticImplpublic 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.InvocationHandlerjava.lang.Throwable