public class MessageStoreSubscriptionStatistics extends AbstractMessageStoreStatistics
messageCount, messageSizeenabled| Constructor and Description |
|---|
MessageStoreSubscriptionStatistics(boolean enabled) |
| Modifier and Type | Method and Description |
|---|---|
CountStatisticImpl |
getMessageCount()
Total count for all subscriptions
|
CountStatisticImpl |
getMessageCount(String subKey) |
SizeStatisticImpl |
getMessageSize()
Total size for all subscriptions
|
SizeStatisticImpl |
getMessageSize(String subKey) |
void |
removeSubscription(String subKey) |
void |
reset()
Reset the statistic
|
setEnabled, setParentaddStatistic, getStatistic, getStatisticNames, getStatisticsappendFieldDescription, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isDoReset, isEnabled, setDoReset, toString, updateSampleTimepublic MessageStoreSubscriptionStatistics(boolean enabled)
enabled - countDescription - sizeDescription - public CountStatisticImpl getMessageCount()
getMessageCount in class AbstractMessageStoreStatisticspublic SizeStatisticImpl getMessageSize()
getMessageSize in class AbstractMessageStoreStatisticspublic CountStatisticImpl getMessageCount(String subKey)
public SizeStatisticImpl getMessageSize(String subKey)
public void removeSubscription(String subKey)
public void reset()
Resettablereset in interface Resettablereset in class AbstractMessageStoreStatisticsCopyright © 2005–2017 The Apache Software Foundation. All rights reserved.