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()
Reset the statistic
|
void |
setEnabled(boolean enabled) |
void |
setParent(NetworkBridgeStatistics parent) |
addStatistic, getStatistic, getStatisticNames, getStatistics
appendFieldDescription, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isDoReset, isEnabled, setDoReset, toString, updateSampleTime
protected CountStatisticImpl enqueues
protected CountStatisticImpl dequeues
protected CountStatisticImpl receivedCount
public NetworkBridgeStatistics()
public CountStatisticImpl getEnqueues()
public CountStatisticImpl getDequeues()
public CountStatisticImpl getReceivedCount()
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(NetworkBridgeStatistics parent)
Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.