org.apache.activemq.management
Class JMSConsumerStatsImpl

java.lang.Object
  extended by org.apache.activemq.management.StatisticImpl
      extended by org.apache.activemq.management.StatsImpl
          extended by org.apache.activemq.management.JMSEndpointStatsImpl
              extended by 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
JMSConsumerStatsImpl(CountStatisticImpl messageCount, CountStatisticImpl pendingMessageCount, CountStatisticImpl expiredMessageCount, TimeStatisticImpl messageWaitTime, TimeStatisticImpl messageRateTime, String origin)
           
JMSConsumerStatsImpl(JMSSessionStatsImpl sessionStats, Destination destination)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 class JMSEndpointStatsImpl

dump

public void dump(IndentPrinter out)
Overrides:
dump in class JMSEndpointStatsImpl


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.