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.StatsImpl
The J2EE Statistics for a Subsription.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.activemq.management.CountStatisticImplprotected org.apache.activemq.management.CountStatisticImplprotected org.apache.activemq.management.CountStatisticImplprotected org.apache.activemq.management.CountStatisticImplprotected org.apache.activemq.management.SizeStatisticImplFields inherited from class org.apache.activemq.management.StatsImpl
set -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.activemq.management.CountStatisticImplorg.apache.activemq.management.CountStatisticImplorg.apache.activemq.management.CountStatisticImplorg.apache.activemq.management.CountStatisticImplorg.apache.activemq.management.SizeStatisticImplvoidreset()voidsetEnabled(boolean enabled) voidsetParent(SubscriptionStatistics parent) Methods inherited from class org.apache.activemq.management.StatsImpl
addStatistic, addStatistics, getStatistic, getStatisticNames, getStatistics, removeStatisticsMethods inherited from class org.apache.activemq.management.StatisticImpl
appendFieldDescription, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isDoReset, isEnabled, setDoReset, toString, updateSampleTime
-
Field Details
-
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
-
-
Constructor Details
-
SubscriptionStatistics
public SubscriptionStatistics() -
SubscriptionStatistics
public SubscriptionStatistics(boolean enabled)
-
-
Method Details
-
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
-