public class ConnectorStatistics extends StatsImpl
| Modifier and Type | Field and Description |
|---|---|
protected CountStatisticImpl |
consumers |
protected CountStatisticImpl |
dequeues |
protected CountStatisticImpl |
enqueues |
protected CountStatisticImpl |
messages |
protected PollCountStatisticImpl |
messagesCached |
enabled| Constructor and Description |
|---|
ConnectorStatistics() |
| Modifier and Type | Method and Description |
|---|---|
CountStatisticImpl |
getConsumers() |
CountStatisticImpl |
getDequeues() |
CountStatisticImpl |
getEnqueues() |
CountStatisticImpl |
getMessages() |
PollCountStatisticImpl |
getMessagesCached() |
void |
reset()
Reset the statistic
|
void |
setEnabled(boolean enabled) |
void |
setMessagesCached(PollCountStatisticImpl messagesCached) |
void |
setParent(ConnectorStatistics parent) |
addStatistic, getStatistic, getStatisticNames, getStatisticsappendFieldDescription, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isDoReset, isEnabled, setDoReset, toString, updateSampleTimeprotected CountStatisticImpl enqueues
protected CountStatisticImpl dequeues
protected CountStatisticImpl consumers
protected CountStatisticImpl messages
protected PollCountStatisticImpl messagesCached
public ConnectorStatistics()
public CountStatisticImpl getEnqueues()
public CountStatisticImpl getDequeues()
public CountStatisticImpl getConsumers()
public PollCountStatisticImpl getMessagesCached()
public CountStatisticImpl getMessages()
public void reset()
Resettablereset in interface Resettablereset in class StatsImplpublic void setEnabled(boolean enabled)
setEnabled in class StatisticImplenabled - the enabled to setpublic void setParent(ConnectorStatistics parent)
public void setMessagesCached(PollCountStatisticImpl messagesCached)
Copyright © 2005–2015 FuseSource, Corp.. All rights reserved.