Package org.apache.activemq.management
Class BoundedRangeStatisticImpl
- java.lang.Object
-
- org.apache.activemq.management.StatisticImpl
-
- org.apache.activemq.management.RangeStatisticImpl
-
- org.apache.activemq.management.BoundedRangeStatisticImpl
-
- All Implemented Interfaces:
Statistic
,Resettable
public class BoundedRangeStatisticImpl extends RangeStatisticImpl
A bounded range statistic implementation
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.management.StatisticImpl
enabled
-
-
Constructor Summary
Constructors Constructor Description BoundedRangeStatisticImpl(String name, String unit, String description, long lowerBound, long upperBound)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
appendFieldDescription(StringBuffer buffer)
long
getLowerBound()
long
getUpperBound()
-
Methods inherited from class org.apache.activemq.management.RangeStatisticImpl
getCurrent, getHighWaterMark, getLowWaterMark, reset, setCurrent
-
Methods inherited from class org.apache.activemq.management.StatisticImpl
getDescription, getLastSampleTime, getName, getStartTime, getUnit, isDoReset, isEnabled, setDoReset, setEnabled, toString, updateSampleTime
-
-
-
-
Method Detail
-
getLowerBound
public long getLowerBound()
-
getUpperBound
public long getUpperBound()
-
appendFieldDescription
protected void appendFieldDescription(StringBuffer buffer)
- Overrides:
appendFieldDescription
in classRangeStatisticImpl
-
-