public abstract class AbstractMessageStoreStatistics extends org.apache.activemq.management.StatsImpl
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.activemq.management.CountStatisticImpl |
messageCount |
protected org.apache.activemq.management.SizeStatisticImpl |
messageSize |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMessageStoreStatistics(boolean enabled,
String countDescription,
String sizeDescription) |
protected |
AbstractMessageStoreStatistics(String countDescription,
String sizeDescription) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.activemq.management.CountStatisticImpl |
getMessageCount() |
org.apache.activemq.management.SizeStatisticImpl |
getMessageSize() |
void |
reset() |
void |
setEnabled(boolean enabled) |
void |
setParent(AbstractMessageStoreStatistics parent) |
addStatistic, getStatistic, getStatisticNames, getStatisticsprotected final org.apache.activemq.management.CountStatisticImpl messageCount
protected final org.apache.activemq.management.SizeStatisticImpl messageSize
protected AbstractMessageStoreStatistics(String countDescription, String sizeDescription)
protected AbstractMessageStoreStatistics(boolean enabled, String countDescription, String sizeDescription)
public org.apache.activemq.management.CountStatisticImpl getMessageCount()
public org.apache.activemq.management.SizeStatisticImpl getMessageSize()
public void reset()
reset in interface org.apache.activemq.management.Resettablereset in class org.apache.activemq.management.StatsImplpublic void setEnabled(boolean enabled)
setEnabled in class org.apache.activemq.management.StatisticImplpublic void setParent(AbstractMessageStoreStatistics parent)
Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.