org.apache.geronimo.management.stats
Class JMSSessionStatsImpl

java.lang.Object
  extended by org.apache.geronimo.management.stats.StatsImpl
      extended by org.apache.geronimo.management.stats.JMSSessionStatsImpl
All Implemented Interfaces:
Serializable, JMSSessionStats, Stats

public class JMSSessionStatsImpl
extends StatsImpl
implements JMSSessionStats

Geronimo implementation of the JSR-77 JMSSessionStats interface.

See Also:
Serialized Form

Constructor Summary
JMSSessionStatsImpl()
           
 
Method Summary
 JMSConsumerStats[] getConsumers()
           
 CountStatistic getDurableSubscriptionCount()
           
 CountStatistic getExpiredMessageCount()
           
 CountStatistic getMessageCount()
           
 TimeStatistic getMessageWaitTime()
           
 CountStatistic getPendingMessageCount()
           
 JMSProducerStats[] getProducers()
           
 
Methods inherited from class org.apache.geronimo.management.stats.StatsImpl
addStat, getStatistic, getStatisticNames, getStatistics, removeStat, setLastSampleTime, setStartTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.management.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
 

Constructor Detail

JMSSessionStatsImpl

public JMSSessionStatsImpl()
Method Detail

getProducers

public JMSProducerStats[] getProducers()
Specified by:
getProducers in interface JMSSessionStats

getConsumers

public JMSConsumerStats[] getConsumers()
Specified by:
getConsumers in interface JMSSessionStats

getMessageCount

public CountStatistic getMessageCount()
Specified by:
getMessageCount in interface JMSSessionStats

getPendingMessageCount

public CountStatistic getPendingMessageCount()
Specified by:
getPendingMessageCount in interface JMSSessionStats

getExpiredMessageCount

public CountStatistic getExpiredMessageCount()
Specified by:
getExpiredMessageCount in interface JMSSessionStats

getDurableSubscriptionCount

public CountStatistic getDurableSubscriptionCount()
Specified by:
getDurableSubscriptionCount in interface JMSSessionStats

getMessageWaitTime

public TimeStatistic getMessageWaitTime()
Specified by:
getMessageWaitTime in interface JMSSessionStats


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.