Class DestinationStatistics
- java.lang.Object
-
- org.apache.activemq.management.StatisticImpl
-
- org.apache.activemq.management.StatsImpl
-
- org.apache.activemq.broker.region.DestinationStatistics
-
- All Implemented Interfaces:
Statistic
,Stats
,Resettable
public class DestinationStatistics extends StatsImpl
The J2EE Statistics for the a Destination.
-
-
Field Summary
Fields Modifier and Type Field Description protected CountStatisticImpl
blockedSends
protected TimeStatisticImpl
blockedTime
protected CountStatisticImpl
consumers
protected CountStatisticImpl
dequeues
protected CountStatisticImpl
dispatched
protected CountStatisticImpl
duplicateFromStore
protected CountStatisticImpl
enqueues
protected CountStatisticImpl
expired
protected CountStatisticImpl
forwards
protected CountStatisticImpl
inflight
protected CountStatisticImpl
messages
protected PollCountStatisticImpl
messagesCached
protected SizeStatisticImpl
messageSize
protected TimeStatisticImpl
processTime
protected CountStatisticImpl
producers
-
Fields inherited from class org.apache.activemq.management.StatisticImpl
enabled
-
-
Constructor Summary
Constructors Constructor Description DestinationStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CountStatisticImpl
getBlockedSends()
TimeStatisticImpl
getBlockedTime()
CountStatisticImpl
getConsumers()
CountStatisticImpl
getDequeues()
CountStatisticImpl
getDispatched()
CountStatisticImpl
getDuplicateFromStore()
CountStatisticImpl
getEnqueues()
CountStatisticImpl
getExpired()
CountStatisticImpl
getForwards()
CountStatisticImpl
getInflight()
CountStatisticImpl
getMessages()
PollCountStatisticImpl
getMessagesCached()
SizeStatisticImpl
getMessageSize()
TimeStatisticImpl
getProcessTime()
CountStatisticImpl
getProducers()
void
reset()
Reset the statisticvoid
setEnabled(boolean enabled)
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, isDoReset, isEnabled, setDoReset, toString, updateSampleTime
-
-
-
-
Field Detail
-
enqueues
protected CountStatisticImpl enqueues
-
dequeues
protected CountStatisticImpl dequeues
-
forwards
protected CountStatisticImpl forwards
-
consumers
protected CountStatisticImpl consumers
-
producers
protected CountStatisticImpl producers
-
messages
protected CountStatisticImpl messages
-
messagesCached
protected PollCountStatisticImpl messagesCached
-
dispatched
protected CountStatisticImpl dispatched
-
duplicateFromStore
protected CountStatisticImpl duplicateFromStore
-
inflight
protected CountStatisticImpl inflight
-
expired
protected CountStatisticImpl expired
-
processTime
protected TimeStatisticImpl processTime
-
blockedSends
protected CountStatisticImpl blockedSends
-
blockedTime
protected TimeStatisticImpl blockedTime
-
messageSize
protected SizeStatisticImpl messageSize
-
-
Method Detail
-
getEnqueues
public CountStatisticImpl getEnqueues()
-
getDequeues
public CountStatisticImpl getDequeues()
-
getForwards
public CountStatisticImpl getForwards()
-
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()
-
getDuplicateFromStore
public CountStatisticImpl getDuplicateFromStore()
-
getProcessTime
public TimeStatisticImpl getProcessTime()
-
getBlockedSends
public CountStatisticImpl getBlockedSends()
-
getBlockedTime
public TimeStatisticImpl getBlockedTime()
-
getMessageSize
public SizeStatisticImpl getMessageSize()
-
reset
public void reset()
Description copied from interface:Resettable
Reset the statistic- Specified by:
reset
in interfaceResettable
- Overrides:
reset
in classStatsImpl
-
setEnabled
public void setEnabled(boolean enabled)
- Overrides:
setEnabled
in classStatisticImpl
- Parameters:
enabled
- the enabled to set
-
setParent
public void setParent(DestinationStatistics parent)
-
-