org.apache.activemq.management
Class JMSProducerStatsImpl

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.JMSProducerStatsImpl
All Implemented Interfaces:
Statistic, Stats, Resettable

public class JMSProducerStatsImpl
extends JMSEndpointStatsImpl

Statistics for a JMS producer


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
JMSProducerStatsImpl(CountStatisticImpl messageCount, CountStatisticImpl pendingMessageCount, CountStatisticImpl expiredMessageCount, TimeStatisticImpl messageWaitTime, TimeStatisticImpl messageRateTime, String destination)
           
JMSProducerStatsImpl(JMSSessionStatsImpl sessionStats, Destination destination)
           
 
Method Summary
 void dump(IndentPrinter out)
           
 String getDestination()
           
 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

JMSProducerStatsImpl

public JMSProducerStatsImpl(JMSSessionStatsImpl sessionStats,
                            Destination destination)

JMSProducerStatsImpl

public JMSProducerStatsImpl(CountStatisticImpl messageCount,
                            CountStatisticImpl pendingMessageCount,
                            CountStatisticImpl expiredMessageCount,
                            TimeStatisticImpl messageWaitTime,
                            TimeStatisticImpl messageRateTime,
                            String destination)
Method Detail

getDestination

public String getDestination()

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.