org.apache.activemq.management
Class JMSStatsImpl
java.lang.Object
org.apache.activemq.management.StatisticImpl
org.apache.activemq.management.StatsImpl
org.apache.activemq.management.JMSStatsImpl
- All Implemented Interfaces:
- javax.management.j2ee.statistics.Statistic, javax.management.j2ee.statistics.Stats, Resettable
public class JMSStatsImpl
- extends StatsImpl
Statistics for a number of JMS connections
| Methods inherited from class org.apache.activemq.management.StatisticImpl |
appendFieldDescription, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isDoReset, isEnabled, setDoReset, toString, updateSampleTime |
JMSStatsImpl
public JMSStatsImpl()
getConnections
public JMSConnectionStatsImpl[] getConnections()
addConnection
public void addConnection(ActiveMQConnection connection)
removeConnection
public void removeConnection(ActiveMQConnection connection)
dump
public void dump(IndentPrinter out)
setEnabled
public void setEnabled(boolean enabled)
- Overrides:
setEnabled in class StatisticImpl
- Parameters:
enabled - the enabled to set
Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.