org.apache.activemq.management
Class RangeStatisticImpl
java.lang.Object
org.apache.activemq.management.StatisticImpl
org.apache.activemq.management.RangeStatisticImpl
- All Implemented Interfaces:
- Statistic, Resettable
- Direct Known Subclasses:
- BoundedRangeStatisticImpl
public class RangeStatisticImpl
- extends StatisticImpl
A range statistic implementation
- Version:
- $Revision: 1.2 $
Methods inherited from class org.apache.activemq.management.StatisticImpl |
getDescription, getLastSampleTime, getName, getStartTime, getUnit, isDoReset, isEnabled, setDoReset, setEnabled, toString, updateSampleTime |
RangeStatisticImpl
public RangeStatisticImpl(String name,
String unit,
String description)
reset
public void reset()
- Description copied from interface:
Resettable
- Reset the statistic
- Specified by:
reset
in interface Resettable
- Overrides:
reset
in class StatisticImpl
getHighWaterMark
public long getHighWaterMark()
getLowWaterMark
public long getLowWaterMark()
getCurrent
public long getCurrent()
setCurrent
public void setCurrent(long current)
appendFieldDescription
protected void appendFieldDescription(StringBuffer buffer)
- Overrides:
appendFieldDescription
in class StatisticImpl
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.