org.jboss.management.j2ee.statistics
Class JMSEndpointStatsImpl

java.lang.Object
  extended byorg.jboss.management.j2ee.statistics.StatsBase (src) 
      extended byorg.jboss.management.j2ee.statistics.JMSEndpointStatsImpl
All Implemented Interfaces:
JMSEndpointStats (src) , java.io.Serializable, Stats (src)
Direct Known Subclasses:
JMSConsumerStatsImpl (src) , JMSProducerStatsImpl (src)

public abstract class JMSEndpointStatsImpl
extends StatsBase (src)
implements JMSEndpointStats (src)

Represents a statistics provided by a JMS message producer or a JMS message consumer

See Also:
Serialized Form

Constructor Summary
JMSEndpointStatsImpl(CountStatistic (src)  pMessageCount, CountStatistic (src)  pPendingMessageCount, CountStatistic (src)  pExpiredMessageCount, TimeStatistic (src)  pMessageWaitTime)
           
 
Method Summary
 CountStatistic (src) getExpiredMessageCount()
          Number of messages that expired before delivery.
 CountStatistic (src) getMessageCount()
          Number of messages sent or received.
 TimeStatistic (src) getMessageWaitTime()
          Time spent by a message before being delivered.
 CountStatistic (src) getPendingMessageCount()
          Number of pending messages.
 
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

JMSEndpointStatsImpl

public JMSEndpointStatsImpl(CountStatistic (src)  pMessageCount,
                            CountStatistic (src)  pPendingMessageCount,
                            CountStatistic (src)  pExpiredMessageCount,
                            TimeStatistic (src)  pMessageWaitTime)
Method Detail

getMessageCount

public CountStatistic (src)  getMessageCount()
Description copied from interface: JMSEndpointStats (src)
Number of messages sent or received.

Specified by:
getMessageCount in interface JMSEndpointStats (src)

getPendingMessageCount

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

Specified by:
getPendingMessageCount in interface JMSEndpointStats (src)

getExpiredMessageCount

public CountStatistic (src)  getExpiredMessageCount()
Description copied from interface: JMSEndpointStats (src)
Number of messages that expired before delivery.

Specified by:
getExpiredMessageCount in interface JMSEndpointStats (src)

getMessageWaitTime

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

Specified by:
getMessageWaitTime in interface JMSEndpointStats (src)