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:
- Statistic, Stats, Resettable
public class JMSStatsImpl
- extends StatsImpl
Statistics for a number of JMS connections
- Version:
- $Revision: 1.2 $
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-2011 Apache Software Foundation. All Rights Reserved.