Class SubscriptionStatistics
- java.lang.Object
-
- org.apache.activemq.management.StatisticImpl
-
- org.apache.activemq.management.StatsImpl
-
- org.apache.activemq.broker.region.SubscriptionStatistics
-
- All Implemented Interfaces:
org.apache.activemq.management.Resettable,org.apache.activemq.management.Statistic,org.apache.activemq.management.Stats
public class SubscriptionStatistics extends org.apache.activemq.management.StatsImplThe J2EE Statistics for a Subsription.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.activemq.management.CountStatisticImplconsumedCountprotected org.apache.activemq.management.CountStatisticImpldequeuesprotected org.apache.activemq.management.CountStatisticImpldispatchedprotected org.apache.activemq.management.CountStatisticImplenqueuesprotected org.apache.activemq.management.SizeStatisticImplinflightMessageSize
-
Constructor Summary
Constructors Constructor Description SubscriptionStatistics()SubscriptionStatistics(boolean enabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.activemq.management.CountStatisticImplgetConsumedCount()org.apache.activemq.management.CountStatisticImplgetDequeues()org.apache.activemq.management.CountStatisticImplgetDispatched()org.apache.activemq.management.CountStatisticImplgetEnqueues()org.apache.activemq.management.SizeStatisticImplgetInflightMessageSize()voidreset()voidsetEnabled(boolean enabled)voidsetParent(SubscriptionStatistics parent)-
Methods inherited from class org.apache.activemq.management.StatsImpl
addStatistic, getStatistic, getStatisticNames, getStatistics
-
-
-
-
Field Detail
-
consumedCount
protected org.apache.activemq.management.CountStatisticImpl consumedCount
-
enqueues
protected org.apache.activemq.management.CountStatisticImpl enqueues
-
dequeues
protected org.apache.activemq.management.CountStatisticImpl dequeues
-
dispatched
protected org.apache.activemq.management.CountStatisticImpl dispatched
-
inflightMessageSize
protected org.apache.activemq.management.SizeStatisticImpl inflightMessageSize
-
-
Method Detail
-
getConsumedCount
public org.apache.activemq.management.CountStatisticImpl getConsumedCount()
-
getEnqueues
public org.apache.activemq.management.CountStatisticImpl getEnqueues()
-
getDequeues
public org.apache.activemq.management.CountStatisticImpl getDequeues()
-
getDispatched
public org.apache.activemq.management.CountStatisticImpl getDispatched()
-
getInflightMessageSize
public org.apache.activemq.management.SizeStatisticImpl getInflightMessageSize()
-
reset
public void reset()
- Specified by:
resetin interfaceorg.apache.activemq.management.Resettable- Overrides:
resetin classorg.apache.activemq.management.StatsImpl
-
setEnabled
public void setEnabled(boolean enabled)
- Overrides:
setEnabledin classorg.apache.activemq.management.StatisticImpl
-
setParent
public void setParent(SubscriptionStatistics parent)
-
-