org.activemq.management
Interface JMSDestinationStats

All Known Implementing Classes:
JMSQueueStatsImpl, JMSTopicStatsImpl

public interface JMSDestinationStats

A simple interface to allow statistics gathering to be easily switched out for performance reasons.

Version:
$Revision: 1.1.1.1 $

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
 

Method Detail

setPendingMessageCountOnStartup

public void setPendingMessageCountOnStartup(long count)
On startup sets the pending message count

Parameters:
count -

onMessageSend

public void onMessageSend(Message message)
On a message send to this destination, update the producing stats

Parameters:
message -

onMessageAck

public void onMessageAck()
On a consume from this destination, updates the consumed states



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