public class NetworkBridgeStatistics extends StatsImpl
| Modifier and Type | Field and Description |
|---|---|
protected CountStatisticImpl |
dequeues |
protected CountStatisticImpl |
enqueues |
protected CountStatisticImpl |
receivedCount |
enabled| Constructor and Description |
|---|
NetworkBridgeStatistics() |
| Modifier and Type | Method and Description |
|---|---|
CountStatisticImpl |
getDequeues()
The current number of dequeues this bridge has, which is the number of
messages actually sent to and received by the remote broker.
|
CountStatisticImpl |
getEnqueues()
The current number of enqueues this bridge has, which is the number of potential messages to be forwarded
Messages may not be forwarded if there is no subscription
|
CountStatisticImpl |
getReceivedCount()
The number of messages that have been received by the NetworkBridge from the remote broker.
|
void |
reset() |
void |
setEnabled(boolean enabled) |
void |
setParent(NetworkBridgeStatistics parent) |
addStatistic, getStatistic, getStatisticNames, getStatisticsappendFieldDescription, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isDoReset, isEnabled, setDoReset, toString, updateSampleTimeprotected CountStatisticImpl enqueues
protected CountStatisticImpl dequeues
protected CountStatisticImpl receivedCount
public NetworkBridgeStatistics()
public CountStatisticImpl getEnqueues()
public CountStatisticImpl getDequeues()
public CountStatisticImpl getReceivedCount()
public void reset()
reset in interface Resettablereset in class StatsImplpublic void setEnabled(boolean enabled)
setEnabled in class StatisticImplpublic void setParent(NetworkBridgeStatistics parent)
Copyright © 2005–2016 The Apache Software Foundation. All rights reserved.