javax.management.j2ee.statistics
Interface JMSSessionStats

All Superinterfaces:
Stats

public interface JMSSessionStats
extends Stats

Specifies the statistics provided by a JMS session.

Author:
Guillaume Sauthier

Method Summary
 JMSConsumerStats[] getConsumers()
           
 CountStatistic getDurableSubscriptionCount()
           
 CountStatistic getExpiredMessageCount()
           
 CountStatistic getMessageCount()
           
 TimeStatistic getMessageWaitTime()
           
 CountStatistic getPendingMessageCount()
           
 JMSProducerStats[] getProducers()
           
 
Methods inherited from interface javax.management.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
 

Method Detail

getProducers

JMSProducerStats[] getProducers()
Returns:
Returns an array of JMSProducerStats that provide statistics about the message producers associated with the referencing JMS session statistics.

getConsumers

JMSConsumerStats[] getConsumers()
Returns:
Returns an array of JMSConsumerStats that provide statistics about the message consumers associated with the referencing JMS session statistics.

getMessageCount

CountStatistic getMessageCount()
Returns:
Number of messages exchanged.

getPendingMessageCount

CountStatistic getPendingMessageCount()
Returns:
Number of pending messages.

getExpiredMessageCount

CountStatistic getExpiredMessageCount()
Returns:
Number of expired messages.

getMessageWaitTime

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

getDurableSubscriptionCount

CountStatistic getDurableSubscriptionCount()
Returns:
Number of durable subscriptions.


Copyright © 2007 OW2 Consortium. All Rights Reserved.