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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendFieldDescription(StringBuffer buffer) longlonglongvoidreset()Reset the statisticvoidsetCurrent(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:ResettableReset the statistic- Specified by:
resetin interfaceResettable- Overrides:
resetin classStatisticImpl
-
getHighWaterMark
public long getHighWaterMark() -
getLowWaterMark
public long getLowWaterMark() -
getCurrent
public long getCurrent() -
setCurrent
public void setCurrent(long current) -
appendFieldDescription
- Overrides:
appendFieldDescriptionin classStatisticImpl
-