public class SubscriptionStatistics extends StatsImpl
Modifier and Type | Field and Description |
---|---|
protected CountStatisticImpl |
consumedCount |
protected CountStatisticImpl |
dequeues |
protected CountStatisticImpl |
dispatched |
protected CountStatisticImpl |
enqueues |
protected SizeStatisticImpl |
inflightMessageSize |
enabled
Constructor and Description |
---|
SubscriptionStatistics() |
SubscriptionStatistics(boolean enabled) |
Modifier and Type | Method and Description |
---|---|
CountStatisticImpl |
getConsumedCount() |
CountStatisticImpl |
getDequeues() |
CountStatisticImpl |
getDispatched() |
CountStatisticImpl |
getEnqueues() |
SizeStatisticImpl |
getInflightMessageSize() |
void |
reset()
Reset the statistic
|
void |
setEnabled(boolean enabled) |
void |
setParent(SubscriptionStatistics parent) |
addStatistic, getStatistic, getStatisticNames, getStatistics
appendFieldDescription, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isDoReset, isEnabled, setDoReset, toString, updateSampleTime
protected CountStatisticImpl consumedCount
protected CountStatisticImpl enqueues
protected CountStatisticImpl dequeues
protected CountStatisticImpl dispatched
protected SizeStatisticImpl inflightMessageSize
public SubscriptionStatistics()
public SubscriptionStatistics(boolean enabled)
public CountStatisticImpl getConsumedCount()
public CountStatisticImpl getEnqueues()
public CountStatisticImpl getDequeues()
public CountStatisticImpl getDispatched()
public SizeStatisticImpl getInflightMessageSize()
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(SubscriptionStatistics parent)
Copyright © 2005–2018 The Apache Software Foundation. All rights reserved.