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, updateSampleTime
public RangeStatisticImpl(String name, String unit, String description)
public void reset()
Resettable
reset
in interface Resettable
reset
in class StatisticImpl
public long getHighWaterMark()
public long getLowWaterMark()
public long getCurrent()
public void setCurrent(long current)
protected void appendFieldDescription(StringBuffer buffer)
appendFieldDescription
in class StatisticImpl
Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.