public class RangeStatisticImpl extends StatisticImpl
enabled| Constructor and Description |
|---|
RangeStatisticImpl(String name,
String unit,
String description) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendFieldDescription(StringBuffer buffer) |
long |
getCurrent() |
long |
getHighWaterMark() |
long |
getLowWaterMark() |
void |
reset()
Reset the statistic
|
void |
setCurrent(long current) |
getDescription, getLastSampleTime, getName, getStartTime, getUnit, isDoReset, isEnabled, setDoReset, setEnabled, toString, updateSampleTimepublic void reset()
Resettablereset in interface Resettablereset in class StatisticImplpublic long getHighWaterMark()
public long getLowWaterMark()
public long getCurrent()
public void setCurrent(long current)
protected void appendFieldDescription(StringBuffer buffer)
appendFieldDescription in class StatisticImplCopyright © 2005-2015 The Apache Software Foundation. All Rights Reserved.