Package org.apache.activemq.management
Class StatsImpl
java.lang.Object
org.apache.activemq.management.StatisticImpl
org.apache.activemq.management.StatsImpl
- All Implemented Interfaces:
Resettable
,Statistic
,Stats
- Direct Known Subclasses:
JCAConnectionStatsImpl
,JCAStatsImpl
,JMSConnectionStatsImpl
,JMSEndpointStatsImpl
,JMSSessionStatsImpl
,JMSStatsImpl
Base class for a Stats implementation
-
Field Summary
Fields inherited from class org.apache.activemq.management.StatisticImpl
enabled
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addStatistic
(String name, StatisticImpl statistic) getStatistic
(String name) String[]
void
reset()
Reset the statisticMethods inherited from class org.apache.activemq.management.StatisticImpl
appendFieldDescription, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isDoReset, isEnabled, setDoReset, setEnabled, toString, updateSampleTime
-
Constructor Details
-
StatsImpl
public StatsImpl() -
StatsImpl
-
-
Method Details
-
reset
public void reset()Description copied from interface:Resettable
Reset the statistic- Specified by:
reset
in interfaceResettable
- Overrides:
reset
in classStatisticImpl
-
getStatistic
- Specified by:
getStatistic
in interfaceStats
-
getStatisticNames
- Specified by:
getStatisticNames
in interfaceStats
-
getStatistics
- Specified by:
getStatistics
in interfaceStats
-
addStatistic
-