org.apache.activemq.management
Class StatsImpl
java.lang.Object
org.apache.activemq.management.StatisticImpl
org.apache.activemq.management.StatsImpl
- All Implemented Interfaces:
- javax.management.j2ee.statistics.Statistic, javax.management.j2ee.statistics.Stats, Resettable
- Direct Known Subclasses:
- JCAConnectionStatsImpl, JCAStatsImpl, JMSConnectionStatsImpl, JMSEndpointStatsImpl, JMSSessionStatsImpl, JMSStatsImpl
public class StatsImpl
- extends StatisticImpl
- implements javax.management.j2ee.statistics.Stats, Resettable
Base class for a Stats implementation
| Methods inherited from class org.apache.activemq.management.StatisticImpl |
appendFieldDescription, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isDoReset, isEnabled, setDoReset, setEnabled, toString, updateSampleTime |
StatsImpl
public StatsImpl()
StatsImpl
public StatsImpl(Set<StatisticImpl> set)
reset
public void reset()
- Description copied from interface:
Resettable
- Reset the statistic
- Specified by:
reset in interface Resettable- Overrides:
reset in class StatisticImpl
getStatistic
public javax.management.j2ee.statistics.Statistic getStatistic(String name)
- Specified by:
getStatistic in interface javax.management.j2ee.statistics.Stats
getStatisticNames
public String[] getStatisticNames()
- Specified by:
getStatisticNames in interface javax.management.j2ee.statistics.Stats
getStatistics
public javax.management.j2ee.statistics.Statistic[] getStatistics()
- Specified by:
getStatistics in interface javax.management.j2ee.statistics.Stats
addStatistic
protected void addStatistic(String name,
StatisticImpl statistic)
Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.