Package org.apache.activemq.management
Class JMSSessionStatsImpl
java.lang.Object
org.apache.activemq.management.StatisticImpl
org.apache.activemq.management.StatsImpl
org.apache.activemq.management.JMSSessionStatsImpl
- All Implemented Interfaces:
Resettable
,Statistic
,Stats
Statistics for a JMS session
-
Field Summary
Fields inherited from class org.apache.activemq.management.StatisticImpl
enabled
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dump
(IndentPrinter out) void
void
void
reset()
Reset the statisticvoid
setEnabled
(boolean enabled) toString()
Methods inherited from class org.apache.activemq.management.StatsImpl
addStatistic, getStatistic, getStatisticNames, getStatistics
Methods inherited from class org.apache.activemq.management.StatisticImpl
appendFieldDescription, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isDoReset, isEnabled, setDoReset, updateSampleTime
-
Constructor Details
-
JMSSessionStatsImpl
-
-
Method Details
-
getProducers
-
getConsumers
-
reset
public void reset()Description copied from interface:Resettable
Reset the statistic- Specified by:
reset
in interfaceResettable
- Overrides:
reset
in classStatsImpl
-
setEnabled
public void setEnabled(boolean enabled) - Overrides:
setEnabled
in classStatisticImpl
- Parameters:
enabled
- the enabled to set
-
getMessageCount
-
getPendingMessageCount
-
getExpiredMessageCount
-
getMessageWaitTime
-
getDurableSubscriptionCount
-
getMessageRateTime
-
toString
- Overrides:
toString
in classStatisticImpl
-
dump
-
onCreateDurableSubscriber
public void onCreateDurableSubscriber() -
onRemoveDurableSubscriber
public void onRemoveDurableSubscriber()
-