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:
Resettable,Statistic,Stats
Statistics for a number of JMS connections
-
Field Summary
Fields inherited from class org.apache.activemq.management.StatisticImpl
enabled -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddConnection(ActiveMQConnection connection) voiddump(IndentPrinter out) voidremoveConnection(ActiveMQConnection connection) voidsetEnabled(boolean enabled) Methods inherited from class org.apache.activemq.management.StatsImpl
addStatistic, getStatistic, getStatisticNames, getStatistics, resetMethods inherited from class org.apache.activemq.management.StatisticImpl
appendFieldDescription, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isDoReset, isEnabled, setDoReset, toString, updateSampleTime
-
Constructor Details
-
JMSStatsImpl
public JMSStatsImpl()
-
-
Method Details
-
getConnections
-
addConnection
-
removeConnection
-
dump
-
setEnabled
public void setEnabled(boolean enabled) - Overrides:
setEnabledin classStatisticImpl- Parameters:
enabled- the enabled to set
-