org.activemq.management
Class JMSProducerStatsImpl

java.lang.Object
  extended byorg.activemq.management.StatisticImpl
      extended byorg.activemq.management.StatsImpl
          extended byorg.activemq.management.JMSEndpointStatsImpl
              extended byorg.activemq.management.JMSProducerStatsImpl
All Implemented Interfaces:
Resettable, Statistic, Stats

public class JMSProducerStatsImpl
extends JMSEndpointStatsImpl

Statistics for a JMS producer

Version:
$Revision: 1.1.1.1 $

Field Summary
 
Fields inherited from class org.activemq.management.JMSEndpointStatsImpl
expiredMessageCount, messageCount, messageRateTime, messageWaitTime, pendingMessageCount
 
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.activemq.management.JMSEndpointStatsImpl
getExpiredMessageCount, getMessageCount, getMessageRateTime, getMessageWaitTime, getPendingMessageCount, onMessage, reset, setParent, setParent
 
Methods inherited from class org.activemq.management.StatsImpl
addStatistic, getStatistic, getStatisticNames, getStatistics
 
Methods inherited from class org.activemq.management.StatisticImpl
appendFieldDescription, getDescription, getLastSampleTime, getName, getStartTime, getUnit, 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 © 2004-2007 Protique, Ltd.. All Rights Reserved.