当前页面:
在线文档首页 >
JBoss 3.2.7 management API Documentation 英文版文档
JMSSessionStatsImpl (JBoss/Management API) - JBoss 3.2.7 management API Documentation 英文版文档
org.jboss.management.j2ee.statistics
Class JMSSessionStatsImpl
java.lang.Object
org.jboss.management.j2ee.statistics.StatsBase
org.jboss.management.j2ee.statistics.JMSSessionStatsImpl
- All Implemented Interfaces:
- javax.management.j2ee.statistics.JMSSessionStats, Serializable, javax.management.j2ee.statistics.Stats
- public final class JMSSessionStatsImpl
- extends StatsBase
- implements javax.management.j2ee.statistics.JMSSessionStats
Represents the statistics provided by a JMS Session
- Version:
- $Revision: 1.1.2.1 $
- Author:
- Marc Fleury, Andreas Schaefer
- See Also:
- Serialized Form
Constructor Summary |
JMSSessionStatsImpl(javax.management.j2ee.statistics.JMSProducerStats[] pProducers,
javax.management.j2ee.statistics.JMSConsumerStats[] pConsumers,
javax.management.j2ee.statistics.CountStatistic pMessageCount,
javax.management.j2ee.statistics.CountStatistic pPendingMessageCount,
javax.management.j2ee.statistics.CountStatistic pExpiredMessageCount,
javax.management.j2ee.statistics.TimeStatistic pMessageWaitTime,
javax.management.j2ee.statistics.CountStatistic pDurableSubscriptionCount)
|
Methods inherited from interface javax.management.j2ee.statistics.Stats |
getStatistic, getStatisticNames, getStatistics |
JMSSessionStatsImpl
public JMSSessionStatsImpl(javax.management.j2ee.statistics.JMSProducerStats[] pProducers,
javax.management.j2ee.statistics.JMSConsumerStats[] pConsumers,
javax.management.j2ee.statistics.CountStatistic pMessageCount,
javax.management.j2ee.statistics.CountStatistic pPendingMessageCount,
javax.management.j2ee.statistics.CountStatistic pExpiredMessageCount,
javax.management.j2ee.statistics.TimeStatistic pMessageWaitTime,
javax.management.j2ee.statistics.CountStatistic pDurableSubscriptionCount)
getProducers
public javax.management.j2ee.statistics.JMSProducerStats[] getProducers()
- Specified by:
getProducers
in interface javax.management.j2ee.statistics.JMSSessionStats
- Returns:
- The list of JMSProducerStats that provide statistics about the message
producers associated with the referencing JMS session statistics
getConsumers
public javax.management.j2ee.statistics.JMSConsumerStats[] getConsumers()
- Specified by:
getConsumers
in interface javax.management.j2ee.statistics.JMSSessionStats
- Returns:
- The list of JMSConsumerStats that provide statistics about the message
consumers associated with the referencing JMS session statistics.
getMessageCount
public javax.management.j2ee.statistics.CountStatistic getMessageCount()
- Specified by:
getMessageCount
in interface javax.management.j2ee.statistics.JMSSessionStats
- Returns:
- The number of messages exchanged
getPendingMessageCount
public javax.management.j2ee.statistics.CountStatistic getPendingMessageCount()
- Specified by:
getPendingMessageCount
in interface javax.management.j2ee.statistics.JMSSessionStats
- Returns:
- The number of pending messages
getExpiredMessageCount
public javax.management.j2ee.statistics.CountStatistic getExpiredMessageCount()
- Specified by:
getExpiredMessageCount
in interface javax.management.j2ee.statistics.JMSSessionStats
- Returns:
- The number of expired messages
getMessageWaitTime
public javax.management.j2ee.statistics.TimeStatistic getMessageWaitTime()
- Specified by:
getMessageWaitTime
in interface javax.management.j2ee.statistics.JMSSessionStats
- Returns:
- The time spent by a message before being delivered
getDurableSubscriptionCount
public javax.management.j2ee.statistics.CountStatistic getDurableSubscriptionCount()
- Specified by:
getDurableSubscriptionCount
in interface javax.management.j2ee.statistics.JMSSessionStats
- Returns:
- The number of durable subscriptions
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.