public class MessageStoreStatistics extends StatsImpl
| Modifier and Type | Field and Description |
|---|---|
protected CountStatisticImpl |
messageCount |
protected SizeStatisticImpl |
messageSize |
enabled| Constructor and Description |
|---|
MessageStoreStatistics() |
MessageStoreStatistics(boolean enabled) |
| Modifier and Type | Method and Description |
|---|---|
CountStatisticImpl |
getMessageCount() |
SizeStatisticImpl |
getMessageSize() |
void |
reset() |
void |
setEnabled(boolean enabled) |
void |
setParent(MessageStoreStatistics parent) |
addStatistic, getStatistic, getStatisticNames, getStatisticsappendFieldDescription, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isDoReset, isEnabled, setDoReset, toString, updateSampleTimeprotected CountStatisticImpl messageCount
protected SizeStatisticImpl messageSize
public MessageStoreStatistics()
public MessageStoreStatistics(boolean enabled)
public CountStatisticImpl getMessageCount()
public SizeStatisticImpl getMessageSize()
public void reset()
reset in interface Resettablereset in class StatsImplpublic void setEnabled(boolean enabled)
setEnabled in class StatisticImplpublic void setParent(MessageStoreStatistics parent)
Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.