Package org.apache.activemq.network
Class NetworkBridgeStatistics
java.lang.Object
org.apache.activemq.management.StatisticImpl
org.apache.activemq.management.StatsImpl
org.apache.activemq.network.NetworkBridgeStatistics
- All Implemented Interfaces:
org.apache.activemq.management.Resettable,org.apache.activemq.management.Statistic,org.apache.activemq.management.Stats
public class NetworkBridgeStatistics
extends org.apache.activemq.management.StatsImpl
The Statistics for a NetworkBridge.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.activemq.management.CountStatisticImplprotected org.apache.activemq.management.CountStatisticImplprotected org.apache.activemq.management.CountStatisticImplFields inherited from class org.apache.activemq.management.StatsImpl
set -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.activemq.management.CountStatisticImplThe current number of dequeues this bridge has, which is the number of messages actually sent to and received by the remote broker.org.apache.activemq.management.CountStatisticImplThe 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 subscriptionorg.apache.activemq.management.CountStatisticImplThe number of messages that have been received by the NetworkBridge from the remote broker.voidreset()voidsetEnabled(boolean enabled) voidsetParent(NetworkBridgeStatistics parent) Methods inherited from class org.apache.activemq.management.StatsImpl
addStatistic, addStatistics, getStatistic, getStatisticNames, getStatistics, removeStatisticsMethods inherited from class org.apache.activemq.management.StatisticImpl
appendFieldDescription, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isDoReset, isEnabled, setDoReset, toString, updateSampleTime
-
Field Details
-
enqueues
protected org.apache.activemq.management.CountStatisticImpl enqueues -
dequeues
protected org.apache.activemq.management.CountStatisticImpl dequeues -
receivedCount
protected org.apache.activemq.management.CountStatisticImpl receivedCount
-
-
Constructor Details
-
NetworkBridgeStatistics
public NetworkBridgeStatistics()
-
-
Method Details
-
getEnqueues
public org.apache.activemq.management.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- Returns:
-
getDequeues
public org.apache.activemq.management.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.- Returns:
-
getReceivedCount
public org.apache.activemq.management.CountStatisticImpl getReceivedCount()The number of messages that have been received by the NetworkBridge from the remote broker. Only applies for Duplex bridges.- Returns:
-
reset
public void reset()- Specified by:
resetin interfaceorg.apache.activemq.management.Resettable- Overrides:
resetin classorg.apache.activemq.management.StatsImpl
-
setEnabled
public void setEnabled(boolean enabled) - Overrides:
setEnabledin classorg.apache.activemq.management.StatisticImpl
-
setParent
-