org.activemq.management
Class JMSTopicStatsImpl

java.lang.Object
  extended by org.activemq.management.StatisticImpl
      extended by org.activemq.management.StatsImpl
          extended by org.activemq.management.JMSEndpointStatsImpl
              extended by org.activemq.management.JMSTopicStatsImpl
All Implemented Interfaces:
Statistic, Stats, JMSDestinationStats, Resettable

public class JMSTopicStatsImpl
extends JMSEndpointStatsImpl
implements JMSDestinationStats

Statistics for a Topic

Version:
$Revision: 1.1.1.1 $

Field Summary
 
Fields inherited from class org.activemq.management.JMSEndpointStatsImpl
expiredMessageCount, messageCount, messageRateTime, messageWaitTime, pendingMessageCount
 
Constructor Summary
JMSTopicStatsImpl()
           
 
Method Summary
 void onMessageAck()
          On a consume from this destination, updates the consumed states
 void onMessageSend(Message message)
          On a message send to this destination, update the producing stats
 void setPendingMessageCountOnStartup(long count)
          On startup sets the pending message count
 
Methods inherited from class org.activemq.management.JMSEndpointStatsImpl
dump, getExpiredMessageCount, getMessageCount, getMessageRateTime, getMessageWaitTime, getPendingMessageCount, onMessage, reset, setParent, setParent, toString
 
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

JMSTopicStatsImpl

public JMSTopicStatsImpl()
Method Detail

setPendingMessageCountOnStartup

public void setPendingMessageCountOnStartup(long count)
Description copied from interface: JMSDestinationStats
On startup sets the pending message count

Specified by:
setPendingMessageCountOnStartup in interface JMSDestinationStats

onMessageSend

public void onMessageSend(Message message)
Description copied from interface: JMSDestinationStats
On a message send to this destination, update the producing stats

Specified by:
onMessageSend in interface JMSDestinationStats

onMessageAck

public void onMessageAck()
Description copied from interface: JMSDestinationStats
On a consume from this destination, updates the consumed states

Specified by:
onMessageAck in interface JMSDestinationStats


Copyright © 2004-2009 Protique, Ltd.. All Rights Reserved.