org.codehaus.activemq.management
Class RangeStatisticImpl
java.lang.Object
org.codehaus.activemq.management.StatisticImpl
org.codehaus.activemq.management.RangeStatisticImpl
- All Implemented Interfaces:
- RangeStatistic, Resettable, Statistic
- Direct Known Subclasses:
- BoundedRangeStatisticImpl
- public class RangeStatisticImpl
- extends StatisticImpl
- implements RangeStatistic
A range statistic implementation
- Version:
- $Revision: 1.1 $
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()
- Specified by:
getHighWaterMark
in interface RangeStatistic
getLowWaterMark
public long getLowWaterMark()
- Specified by:
getLowWaterMark
in interface RangeStatistic
getCurrent
public long getCurrent()
- Specified by:
getCurrent
in interface RangeStatistic
setCurrent
public void setCurrent(long current)
appendFieldDescription
protected void appendFieldDescription(StringBuffer buffer)
- Overrides:
appendFieldDescription
in class StatisticImpl
Copyright © 2004 Protique, Ltd.. All Rights Reserved.