javax.management.j2ee.statistics
Interface JMSEndpointStats

All Superinterfaces:
Stats
All Known Subinterfaces:
JMSConsumerStats, JMSProducerStats

public interface JMSEndpointStats
extends Stats

Specifies the statistics provided by a JMS message producer or a JMS message consumer.

Author:
Guillaume Sauthier

Method Summary
 CountStatistic getExpiredMessageCount()
           
 CountStatistic getMessageCount()
           
 TimeStatistic getMessageWaitTime()
           
 CountStatistic getPendingMessageCount()
           
 
Methods inherited from interface javax.management.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
 

Method Detail

getMessageCount

CountStatistic getMessageCount()
Returns:
Number of messages sent or received.

getPendingMessageCount

CountStatistic getPendingMessageCount()
Returns:
Number of pending messages.

getExpiredMessageCount

CountStatistic getExpiredMessageCount()
Returns:
Number of messages that expired before delivery.

getMessageWaitTime

TimeStatistic getMessageWaitTime()
Returns:
Time spent by a message before being delivered.


Copyright © 2007 OW2 Consortium. All Rights Reserved.