Package org.apache.activemq.management
Class UnsampledStatsImpl
- java.lang.Object
-
- org.apache.activemq.management.StatisticImpl
-
- org.apache.activemq.management.StatsImpl
-
- org.apache.activemq.management.UnsampledStatsImpl
-
- All Implemented Interfaces:
Resettable,Statistic,Stats
- Direct Known Subclasses:
MessageFlowStatsImpl
public class UnsampledStatsImpl extends StatsImpl
-
-
Constructor Summary
Constructors Constructor Description UnsampledStatsImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetLastSampleTime()longgetStartTime()voidsetEnabled(boolean enabled)protected voidupdateSampleTime()-
Methods inherited from class org.apache.activemq.management.StatsImpl
addStatistic, addStatistics, getStatistic, getStatisticNames, getStatistics, removeStatistics, reset
-
Methods inherited from class org.apache.activemq.management.StatisticImpl
appendFieldDescription, getDescription, getName, getUnit, isDoReset, isEnabled, setDoReset, toString
-
-
-
-
Method Detail
-
updateSampleTime
protected void updateSampleTime()
- Overrides:
updateSampleTimein classStatisticImpl
-
getStartTime
public long getStartTime()
- Specified by:
getStartTimein interfaceStatistic- Overrides:
getStartTimein classStatisticImpl
-
getLastSampleTime
public long getLastSampleTime()
- Specified by:
getLastSampleTimein interfaceStatistic- Overrides:
getLastSampleTimein classStatisticImpl
-
setEnabled
public void setEnabled(boolean enabled)
- Overrides:
setEnabledin classStatisticImpl- Parameters:
enabled- the enabled to set
-
-