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:
- JMSDestinationStats, Resettable, javax.management.j2ee.statistics.Statistic, javax.management.j2ee.statistics.Stats
- public class JMSQueueStatsImpl
- extends JMSEndpointStatsImpl
- implements JMSDestinationStats
Statistics for a Queue
- Version:
- $Revision: 1.1.1.1 $
Method Summary |
void |
onMessageAck()
On a consume from this destination, updates the consumed states |
void |
onMessageSend(javax.jms.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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
- Parameters:
count
-
onMessageSend
public void onMessageSend(javax.jms.Message message)
- Description copied from interface:
JMSDestinationStats
- On a message send to this destination, update the producing stats
- Specified by:
onMessageSend
in interface JMSDestinationStats
- Parameters:
message
-
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-2005 Protique, Ltd.. All Rights Reserved.