Package 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
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.management.StatisticImpl
enabled
-
-
Constructor Summary
Constructors Constructor Description JMSStatsImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddConnection(ActiveMQConnection connection)voiddump(IndentPrinter out)JMSConnectionStatsImpl[]getConnections()voidremoveConnection(ActiveMQConnection connection)voidsetEnabled(boolean enabled)-
Methods inherited from class org.apache.activemq.management.StatsImpl
addStatistic, getStatistic, getStatisticNames, getStatistics, reset
-
Methods inherited from class org.apache.activemq.management.StatisticImpl
appendFieldDescription, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isDoReset, isEnabled, setDoReset, toString, updateSampleTime
-
-
-
-
Method Detail
-
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:
setEnabledin classStatisticImpl- Parameters:
enabled- the enabled to set
-
-