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.StatsImplThe Statistics for a NetworkBridge.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.activemq.management.CountStatisticImpldequeuesprotected org.apache.activemq.management.CountStatisticImplenqueuesprotected org.apache.activemq.management.CountStatisticImplreceivedCount
-
Constructor Summary
Constructors Constructor Description NetworkBridgeStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.activemq.management.CountStatisticImplgetDequeues()The 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.CountStatisticImplgetEnqueues()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 subscriptionorg.apache.activemq.management.CountStatisticImplgetReceivedCount()The 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, getStatistic, getStatisticNames, getStatistics
-
-
-
-
Method Detail
-
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
public void setParent(NetworkBridgeStatistics parent)
-
-