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

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

Parameters:
count -

onMessageSend

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

Parameters:
message -

onMessageAck

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



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