org.apache.activemq.broker.region
Class DestinationStatistics
java.lang.Object
org.apache.activemq.management.StatisticImpl
org.apache.activemq.management.StatsImpl
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.
Methods inherited from class org.apache.activemq.management.StatisticImpl |
appendFieldDescription, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isDoReset, isEnabled, setDoReset, toString, updateSampleTime |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
enqueues
protected CountStatisticImpl enqueues
dequeues
protected CountStatisticImpl dequeues
consumers
protected CountStatisticImpl consumers
producers
protected CountStatisticImpl producers
messages
protected CountStatisticImpl messages
messagesCached
protected PollCountStatisticImpl messagesCached
dispatched
protected CountStatisticImpl dispatched
inflight
protected CountStatisticImpl inflight
expired
protected CountStatisticImpl expired
processTime
protected TimeStatisticImpl processTime
DestinationStatistics
public DestinationStatistics()
getEnqueues
public CountStatisticImpl getEnqueues()
getDequeues
public CountStatisticImpl getDequeues()
getInflight
public CountStatisticImpl getInflight()
getExpired
public CountStatisticImpl getExpired()
getConsumers
public CountStatisticImpl getConsumers()
getProducers
public CountStatisticImpl getProducers()
getMessagesCached
public PollCountStatisticImpl getMessagesCached()
getMessages
public CountStatisticImpl getMessages()
setMessagesCached
public void setMessagesCached(PollCountStatisticImpl messagesCached)
getDispatched
public CountStatisticImpl getDispatched()
getProcessTime
public TimeStatisticImpl getProcessTime()
reset
public void reset()
- Description copied from interface:
Resettable
- Reset the statistic
- Specified by:
reset
in interface Resettable
- Overrides:
reset
in class StatsImpl
setEnabled
public void setEnabled(boolean enabled)
- Overrides:
setEnabled
in class StatisticImpl
- Parameters:
enabled
- the enabled to set
setParent
public void setParent(DestinationStatistics parent)
Copyright © 2005-2016. All Rights Reserved.