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()
Reset the statistic
|
void |
setEnabled(boolean enabled) |
void |
setParent(MessageStoreStatistics parent) |
addStatistic, getStatistic, getStatisticNames, getStatistics
appendFieldDescription, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isDoReset, isEnabled, setDoReset, toString, updateSampleTime
protected CountStatisticImpl messageCount
protected SizeStatisticImpl messageSize
public MessageStoreStatistics()
public MessageStoreStatistics(boolean enabled)
public CountStatisticImpl getMessageCount()
public SizeStatisticImpl getMessageSize()
public void reset()
Resettable
reset
in interface Resettable
reset
in class StatsImpl
public void setEnabled(boolean enabled)
setEnabled
in class StatisticImpl
enabled
- the enabled to setpublic void setParent(MessageStoreStatistics parent)
Copyright © 2005–2017. All rights reserved.