JMSDestinationStats (ActiveMQ 1.1 API)
Keywords: org.codehaus.activemq.management.JMSDestinationStats interface

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.codehaus.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 $

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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