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
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.activemq.management.CountStatisticImpl
dequeues
protected org.apache.activemq.management.CountStatisticImpl
enqueues
protected org.apache.activemq.management.CountStatisticImpl
receivedCount
-
Constructor Summary
Constructors Constructor Description NetworkBridgeStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.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 subscriptionorg.apache.activemq.management.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)
-
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:
reset
in interfaceorg.apache.activemq.management.Resettable
- Overrides:
reset
in classorg.apache.activemq.management.StatsImpl
-
setEnabled
public void setEnabled(boolean enabled)
- Overrides:
setEnabled
in classorg.apache.activemq.management.StatisticImpl
-
setParent
public void setParent(NetworkBridgeStatistics parent)
-
-