org.apache.activemq.broker.region
Class DestinationStatistics

java.lang.Object
  extended by org.apache.activemq.management.StatisticImpl
      extended by org.apache.activemq.management.StatsImpl
          extended by org.apache.activemq.broker.region.DestinationStatistics
All Implemented Interfaces:
javax.management.j2ee.statistics.Statistic, javax.management.j2ee.statistics.Stats, Resettable

public class DestinationStatistics
extends StatsImpl

The J2EE Statistics for the a Destination.

Version:
$Revision$

Field Summary
protected  CountStatisticImpl consumers
           
protected  CountStatisticImpl dequeues
           
protected  CountStatisticImpl dispatched
           
protected  CountStatisticImpl enqueues
           
protected  CountStatisticImpl messages
           
protected  PollCountStatisticImpl messagesCached
           
 
Fields inherited from class org.apache.activemq.management.StatisticImpl
enabled
 
Constructor Summary
DestinationStatistics()
           
 
Method Summary
 CountStatisticImpl getConsumers()
           
 CountStatisticImpl getDequeues()
           
 CountStatisticImpl getDispatched()
           
 CountStatisticImpl getEnqueues()
           
 CountStatisticImpl getMessages()
           
 PollCountStatisticImpl getMessagesCached()
           
 void reset()
          Reset the statistic
 void setMessagesCached(PollCountStatisticImpl messagesCached)
           
 void setParent(DestinationStatistics parent)
           
 
Methods inherited from class org.apache.activemq.management.StatsImpl
addStatistic, getStatistic, getStatisticNames, getStatistics
 
Methods inherited from class org.apache.activemq.management.StatisticImpl
appendFieldDescription, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isEnabled, setEnabled, toString, updateSampleTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

enqueues

protected CountStatisticImpl enqueues

dequeues

protected CountStatisticImpl dequeues

consumers

protected CountStatisticImpl consumers

messages

protected CountStatisticImpl messages

messagesCached

protected PollCountStatisticImpl messagesCached

dispatched

protected CountStatisticImpl dispatched
Constructor Detail

DestinationStatistics

public DestinationStatistics()
Method Detail

getEnqueues

public CountStatisticImpl getEnqueues()

getDequeues

public CountStatisticImpl getDequeues()

getConsumers

public CountStatisticImpl getConsumers()

getMessagesCached

public PollCountStatisticImpl getMessagesCached()

getMessages

public CountStatisticImpl getMessages()

reset

public void reset()
Description copied from interface: Resettable
Reset the statistic

Specified by:
reset in interface Resettable
Overrides:
reset in class StatsImpl

setParent

public void setParent(DestinationStatistics parent)

setMessagesCached

public void setMessagesCached(PollCountStatisticImpl messagesCached)

getDispatched

public CountStatisticImpl getDispatched()


Copyright © 2009 Apache Software Foundation. All Rights Reserved.