Package org.apache.activemq.management
Class RangeStatisticImpl
java.lang.Object
org.apache.activemq.management.StatisticImpl
org.apache.activemq.management.RangeStatisticImpl
- All Implemented Interfaces:
Resettable
,Statistic
- Direct Known Subclasses:
BoundedRangeStatisticImpl
A range statistic implementation
-
Field Summary
Fields inherited from class org.apache.activemq.management.StatisticImpl
enabled
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
appendFieldDescription
(StringBuffer buffer) long
long
long
void
reset()
Reset the statisticvoid
setCurrent
(long current) Methods inherited from class org.apache.activemq.management.StatisticImpl
getDescription, getLastSampleTime, getName, getStartTime, getUnit, isDoReset, isEnabled, setDoReset, setEnabled, toString, updateSampleTime
-
Constructor Details
-
RangeStatisticImpl
-
-
Method Details
-
reset
public void reset()Description copied from interface:Resettable
Reset the statistic- Specified by:
reset
in interfaceResettable
- Overrides:
reset
in classStatisticImpl
-
getHighWaterMark
public long getHighWaterMark() -
getLowWaterMark
public long getLowWaterMark() -
getCurrent
public long getCurrent() -
setCurrent
public void setCurrent(long current) -
appendFieldDescription
- Overrides:
appendFieldDescription
in classStatisticImpl
-