javax.management.j2ee.statistics
Interface JMSEndpointStats

All Superinterfaces:
Stats
All Known Subinterfaces:
JMSConsumerStats, JMSProducerStats

public interface JMSEndpointStats
extends Stats

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

Version:
$Revision: 1.1 $
Author:
Laurent Etiemble

Method Summary
 CountStatistic getExpiredMessageCount()
          Returns the number of messages that expired before delivery.
 CountStatistic getMessageCount()
          Returns the number of messages sent or received.
 TimeStatistic getMessageWaitTime()
          Returns the time spent by a message before being delivered.
 CountStatistic getPendingMessageCount()
          Returns the number of pending messages.
 
Methods inherited from interface javax.management.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
 

Method Detail

getMessageCount

public CountStatistic getMessageCount()
Returns the number of messages sent or received.

Returns:
The message count

getPendingMessageCount

public CountStatistic getPendingMessageCount()
Returns the number of pending messages.

Returns:
The pending message count

getExpiredMessageCount

public CountStatistic getExpiredMessageCount()
Returns the number of messages that expired before delivery.

Returns:
The expired message count

getMessageWaitTime

public TimeStatistic getMessageWaitTime()
Returns the time spent by a message before being delivered.

Returns:
The message wait time


Copyright © 2002-2003 EJTools Org.. All Rights Reserved.