Package org.apache.activemq.management
Class JMSConsumerStatsImpl
- java.lang.Object
-
- org.apache.activemq.management.StatisticImpl
-
- org.apache.activemq.management.StatsImpl
-
- org.apache.activemq.management.JMSEndpointStatsImpl
-
- org.apache.activemq.management.JMSConsumerStatsImpl
-
- All Implemented Interfaces:
Statistic
,Stats
,Resettable
public class JMSConsumerStatsImpl extends JMSEndpointStatsImpl
Statistics for a JMS consumer
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.management.JMSEndpointStatsImpl
expiredMessageCount, messageCount, messageRateTime, messageWaitTime, pendingMessageCount
-
Fields inherited from class org.apache.activemq.management.StatisticImpl
enabled
-
-
Constructor Summary
Constructors Constructor Description JMSConsumerStatsImpl(CountStatisticImpl messageCount, CountStatisticImpl pendingMessageCount, CountStatisticImpl expiredMessageCount, TimeStatisticImpl messageWaitTime, TimeStatisticImpl messageRateTime, String origin)
JMSConsumerStatsImpl(JMSSessionStatsImpl sessionStats, Destination destination)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dump(IndentPrinter out)
String
getOrigin()
String
toString()
-
Methods inherited from class org.apache.activemq.management.JMSEndpointStatsImpl
getExpiredMessageCount, getMessageCount, getMessageRateTime, getMessageWaitTime, getPendingMessageCount, onMessage, reset, setEnabled, setParent, setParent
-
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 Detail
-
JMSConsumerStatsImpl
public JMSConsumerStatsImpl(JMSSessionStatsImpl sessionStats, Destination destination)
-
JMSConsumerStatsImpl
public JMSConsumerStatsImpl(CountStatisticImpl messageCount, CountStatisticImpl pendingMessageCount, CountStatisticImpl expiredMessageCount, TimeStatisticImpl messageWaitTime, TimeStatisticImpl messageRateTime, String origin)
-
-
Method Detail
-
getOrigin
public String getOrigin()
-
toString
public String toString()
- Overrides:
toString
in classJMSEndpointStatsImpl
-
dump
public void dump(IndentPrinter out)
- Overrides:
dump
in classJMSEndpointStatsImpl
-
-