Package org.apache.activemq.management
Class JMSConnectionStatsImpl
java.lang.Object
org.apache.activemq.management.StatisticImpl
org.apache.activemq.management.StatsImpl
org.apache.activemq.management.JMSConnectionStatsImpl
- All Implemented Interfaces:
Resettable,Statistic,Stats
Statistics for a JMS connection
-
Field Summary
Fields inherited from class org.apache.activemq.management.StatisticImpl
enabled -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddump(IndentPrinter out) booleanvoidreset()Reset the statisticvoidsetEnabled(boolean enabled) toString()Methods inherited from class org.apache.activemq.management.StatsImpl
addStatistic, getStatistic, getStatisticNames, getStatisticsMethods inherited from class org.apache.activemq.management.StatisticImpl
appendFieldDescription, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isDoReset, isEnabled, setDoReset, updateSampleTime
-
Constructor Details
-
JMSConnectionStatsImpl
-
-
Method Details
-
getSessions
-
reset
public void reset()Description copied from interface:ResettableReset the statistic- Specified by:
resetin interfaceResettable- Overrides:
resetin classStatsImpl
-
setEnabled
public void setEnabled(boolean enabled) - Overrides:
setEnabledin classStatisticImpl- Parameters:
enabled- the enabled to set
-
isTransactional
public boolean isTransactional() -
toString
- Overrides:
toStringin classStatisticImpl
-
dump
-