javax.management.j2ee.statistics
Interface JMSSessionStats

All Superinterfaces:
Stats

public interface JMSSessionStats
extends Stats

Specifies the statistics provided by a JMS session.

Version:
$Revision: 1.1 $
Author:
Laurent Etiemble

Method Summary
 JMSConsumerStats[] getConsumers()
          Returns a list of JMSConsumerStats that provide statistics about the message consumers associated with the referencing JMS session statistics.
 CountStatistic getDurableSubscriptionCount()
          Returns the number of durable subscriptions.
 CountStatistic getExpiredMessageCount()
          Returns the number of expired messages.
 CountStatistic getMessageCount()
          Returns the number of messages exchanged.
 TimeStatistic getMessageWaitTime()
          Returns the time spent by a message before being delivered.
 CountStatistic getPendingMessageCount()
          Returns the number of pending messages.
 JMSProducerStats[] getProducers()
          Returns a list of JMSProducerStats that provide statistics about the message producers associated with the referencing JMS session statistics.
 
Methods inherited from interface javax.management.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
 

Method Detail

getProducers

public JMSProducerStats[] getProducers()
Returns a list of JMSProducerStats that provide statistics about the message producers associated with the referencing JMS session statistics.

Returns:
The producers stats

getConsumers

public JMSConsumerStats[] getConsumers()
Returns a list of JMSConsumerStats that provide statistics about the message consumers associated with the referencing JMS session statistics.

Returns:
The consumers stats

getMessageCount

public CountStatistic getMessageCount()
Returns the number of messages exchanged.

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 expired messages.

Returns:
The expired message count

getMessageWaitTime

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

Returns:
The message wait time

getDurableSubscriptionCount

public CountStatistic getDurableSubscriptionCount()
Returns the number of durable subscriptions.

Returns:
The durable subscription count


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