org.jboss.management.j2ee.statistics
Class JMSSessionStatsImpl

java.lang.Object
  extended byorg.jboss.management.j2ee.statistics.StatsBase (src) 
      extended byorg.jboss.management.j2ee.statistics.JMSSessionStatsImpl
All Implemented Interfaces:
JMSSessionStats (src) , java.io.Serializable, Stats (src)

public final class JMSSessionStatsImpl
extends StatsBase (src)
implements JMSSessionStats (src)

Represents the statistics provided by a JMS Session

See Also:
Serialized Form

Constructor Summary
JMSSessionStatsImpl(JMSProducerStats (src) [] pProducers, JMSConsumerStats (src) [] pConsumers, CountStatistic (src)  pMessageCount, CountStatistic (src)  pPendingMessageCount, CountStatistic (src)  pExpiredMessageCount, TimeStatistic (src)  pMessageWaitTime, CountStatistic (src)  pDurableSubscriptionCount)
           
 
Method Summary
 JMSConsumerStats (src) [] getConsumers()
          Returns an array of JMSConsumerStats that provide statistics about the message consumers associated with the referencing JMS session statistics.
 CountStatistic (src) getDurableSubscriptionCount()
          Number of durable subscriptions.
 CountStatistic (src) getExpiredMessageCount()
          Number of expired messages.
 CountStatistic (src) getMessageCount()
          Number of messages exchanged.
 TimeStatistic (src) getMessageWaitTime()
          Time spent by a message before being delivered.
 CountStatistic (src) getPendingMessageCount()
          Number of pending messages.
 JMSProducerStats (src) [] getProducers()
          Returns an array of JMSProducerStats that provide statistics about the message producers associated with the referencing JMS session statistics.
 
Methods inherited from class org.jboss.management.j2ee.statistics.StatsBase (src)
addStatistic, getStatistic, getStatisticNames, getStatistics, reset, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.management.j2ee.statistics.Stats (src)
getStatistic, getStatisticNames, getStatistics
 

Constructor Detail

JMSSessionStatsImpl

public JMSSessionStatsImpl(JMSProducerStats (src) [] pProducers,
                           JMSConsumerStats (src) [] pConsumers,
                           CountStatistic (src)  pMessageCount,
                           CountStatistic (src)  pPendingMessageCount,
                           CountStatistic (src)  pExpiredMessageCount,
                           TimeStatistic (src)  pMessageWaitTime,
                           CountStatistic (src)  pDurableSubscriptionCount)
Method Detail

getProducers

public JMSProducerStats (src) [] getProducers()
Description copied from interface: JMSSessionStats (src)
Returns an array of JMSProducerStats that provide statistics about the message producers associated with the referencing JMS session statistics.

Specified by:
getProducers in interface JMSSessionStats (src)

getConsumers

public JMSConsumerStats (src) [] getConsumers()
Description copied from interface: JMSSessionStats (src)
Returns an array of JMSConsumerStats that provide statistics about the message consumers associated with the referencing JMS session statistics.

Specified by:
getConsumers in interface JMSSessionStats (src)

getMessageCount

public CountStatistic (src)  getMessageCount()
Description copied from interface: JMSSessionStats (src)
Number of messages exchanged.

Specified by:
getMessageCount in interface JMSSessionStats (src)

getPendingMessageCount

public CountStatistic (src)  getPendingMessageCount()
Description copied from interface: JMSSessionStats (src)
Number of pending messages.

Specified by:
getPendingMessageCount in interface JMSSessionStats (src)

getExpiredMessageCount

public CountStatistic (src)  getExpiredMessageCount()
Description copied from interface: JMSSessionStats (src)
Number of expired messages.

Specified by:
getExpiredMessageCount in interface JMSSessionStats (src)

getMessageWaitTime

public TimeStatistic (src)  getMessageWaitTime()
Description copied from interface: JMSSessionStats (src)
Time spent by a message before being delivered.

Specified by:
getMessageWaitTime in interface JMSSessionStats (src)

getDurableSubscriptionCount

public CountStatistic (src)  getDurableSubscriptionCount()
Description copied from interface: JMSSessionStats (src)
Number of durable subscriptions.

Specified by:
getDurableSubscriptionCount in interface JMSSessionStats (src)