org.activemq.management
Class JMSQueueStatsImpl
java.lang.Object
org.activemq.management.StatisticImpl
org.activemq.management.StatsImpl
org.activemq.management.JMSEndpointStatsImpl
org.activemq.management.JMSQueueStatsImpl
- All Implemented Interfaces:
- Statistic, Stats, JMSDestinationStats, Resettable
public class JMSQueueStatsImpl
- extends JMSEndpointStatsImpl
- implements JMSDestinationStats
Statistics for a Queue
- Version:
- $Revision: 1.1.1.1 $
Methods inherited from class org.activemq.management.JMSEndpointStatsImpl |
dump, getExpiredMessageCount, getMessageCount, getMessageRateTime, getMessageWaitTime, getPendingMessageCount, onMessage, reset, setParent, setParent, toString |
sendMessageRateTime
protected TimeStatisticImpl sendMessageRateTime
JMSQueueStatsImpl
public JMSQueueStatsImpl()
JMSQueueStatsImpl
public JMSQueueStatsImpl(CountStatisticImpl messageCount,
CountStatisticImpl pendingMessageCount,
CountStatisticImpl expiredMessageCount,
TimeStatisticImpl messageWaitTime,
TimeStatisticImpl messageRateTime,
TimeStatisticImpl sendMessageRateTime)
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.