Package org.apache.activemq.broker.jmx
Class NetworkBridgeView
- java.lang.Object
-
- org.apache.activemq.broker.jmx.NetworkBridgeView
-
- All Implemented Interfaces:
NetworkBridgeViewMBean,Service
public class NetworkBridgeView extends Object implements NetworkBridgeViewMBean
-
-
Constructor Summary
Constructors Constructor Description NetworkBridgeView(NetworkBridge bridge)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddNetworkDestinationView(NetworkDestinationView networkDestinationView)longgetDequeueCounter()longgetEnqueueCounter()StringgetLocalAddress()StringgetLocalBrokerName()longgetReceivedCounter()StringgetRemoteAddress()StringgetRemoteBrokerId()StringgetRemoteBrokerName()booleanisCreatedByDuplex()voidremoveNetworkDestinationView(NetworkDestinationView networkDestinationView)voidresetStats()voidsetCreateByDuplex(boolean createByDuplex)voidstart()voidstop()
-
-
-
Constructor Detail
-
NetworkBridgeView
public NetworkBridgeView(NetworkBridge bridge)
-
-
Method Detail
-
start
public void start() throws Exception
-
getLocalAddress
public String getLocalAddress()
- Specified by:
getLocalAddressin interfaceNetworkBridgeViewMBean
-
getRemoteAddress
public String getRemoteAddress()
- Specified by:
getRemoteAddressin interfaceNetworkBridgeViewMBean
-
getRemoteBrokerName
public String getRemoteBrokerName()
- Specified by:
getRemoteBrokerNamein interfaceNetworkBridgeViewMBean
-
getRemoteBrokerId
public String getRemoteBrokerId()
- Specified by:
getRemoteBrokerIdin interfaceNetworkBridgeViewMBean
-
getLocalBrokerName
public String getLocalBrokerName()
- Specified by:
getLocalBrokerNamein interfaceNetworkBridgeViewMBean
-
getEnqueueCounter
public long getEnqueueCounter()
- Specified by:
getEnqueueCounterin interfaceNetworkBridgeViewMBean
-
getDequeueCounter
public long getDequeueCounter()
- Specified by:
getDequeueCounterin interfaceNetworkBridgeViewMBean
-
getReceivedCounter
public long getReceivedCounter()
- Specified by:
getReceivedCounterin interfaceNetworkBridgeViewMBean
-
isCreatedByDuplex
public boolean isCreatedByDuplex()
- Specified by:
isCreatedByDuplexin interfaceNetworkBridgeViewMBean
-
setCreateByDuplex
public void setCreateByDuplex(boolean createByDuplex)
-
resetStats
public void resetStats()
- Specified by:
resetStatsin interfaceNetworkBridgeViewMBean
-
addNetworkDestinationView
public void addNetworkDestinationView(NetworkDestinationView networkDestinationView)
-
removeNetworkDestinationView
public void removeNetworkDestinationView(NetworkDestinationView networkDestinationView)
-
-