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, getStatisticsappendFieldDescription, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isDoReset, isEnabled, setDoReset, toString, updateSampleTimeprotected 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()
Resettablereset in interface Resettablereset in class StatsImplpublic void setEnabled(boolean enabled)
setEnabled in class StatisticImplenabled - the enabled to setpublic void setParent(SubscriptionStatistics parent)
Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.