Package org.apache.activemq.store
Class MessageStoreSubscriptionStatistics
- java.lang.Object
- 
- org.apache.activemq.management.StatisticImpl
- 
- org.apache.activemq.management.StatsImpl
- 
- org.apache.activemq.store.AbstractMessageStoreStatistics
- 
- org.apache.activemq.store.MessageStoreSubscriptionStatistics
 
 
 
 
- 
- All Implemented Interfaces:
- Statistic,- Stats,- Resettable
 
 public class MessageStoreSubscriptionStatistics extends AbstractMessageStoreStatistics 
- 
- 
Field Summary- 
Fields inherited from class org.apache.activemq.store.AbstractMessageStoreStatisticsmessageCount, messageSize
 - 
Fields inherited from class org.apache.activemq.management.StatisticImplenabled
 
- 
 - 
Constructor SummaryConstructors Constructor Description MessageStoreSubscriptionStatistics(boolean enabled)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CountStatisticImplgetMessageCount()Total count for all subscriptionsCountStatisticImplgetMessageCount(String subKey)SizeStatisticImplgetMessageSize()Total size for all subscriptionsSizeStatisticImplgetMessageSize(String subKey)voidremoveSubscription(String subKey)voidreset()Reset the statistic- 
Methods inherited from class org.apache.activemq.store.AbstractMessageStoreStatisticssetEnabled, setParent
 - 
Methods inherited from class org.apache.activemq.management.StatsImpladdStatistic, getStatistic, getStatisticNames, getStatistics
 - 
Methods inherited from class org.apache.activemq.management.StatisticImplappendFieldDescription, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isDoReset, isEnabled, setDoReset, toString, updateSampleTime
 
- 
 
- 
- 
- 
Method Detail- 
getMessageCountpublic CountStatisticImpl getMessageCount() Total count for all subscriptions- Overrides:
- getMessageCountin class- AbstractMessageStoreStatistics
 
 - 
getMessageSizepublic SizeStatisticImpl getMessageSize() Total size for all subscriptions- Overrides:
- getMessageSizein class- AbstractMessageStoreStatistics
 
 - 
getMessageCountpublic CountStatisticImpl getMessageCount(String subKey) 
 - 
getMessageSizepublic SizeStatisticImpl getMessageSize(String subKey) 
 - 
removeSubscriptionpublic void removeSubscription(String subKey) 
 - 
resetpublic void reset() Description copied from interface:ResettableReset the statistic- Specified by:
- resetin interface- Resettable
- Overrides:
- resetin class- AbstractMessageStoreStatistics
 
 
- 
 
-