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 void
addNetworkDestinationView(NetworkDestinationView networkDestinationView)
long
getDequeueCounter()
long
getEnqueueCounter()
String
getLocalAddress()
String
getLocalBrokerName()
long
getReceivedCounter()
String
getRemoteAddress()
String
getRemoteBrokerId()
String
getRemoteBrokerName()
boolean
isCreatedByDuplex()
void
removeNetworkDestinationView(NetworkDestinationView networkDestinationView)
void
resetStats()
void
setCreateByDuplex(boolean createByDuplex)
void
start()
void
stop()
-
-
-
Constructor Detail
-
NetworkBridgeView
public NetworkBridgeView(NetworkBridge bridge)
-
-
Method Detail
-
start
public void start() throws Exception
-
getLocalAddress
public String getLocalAddress()
- Specified by:
getLocalAddress
in interfaceNetworkBridgeViewMBean
-
getRemoteAddress
public String getRemoteAddress()
- Specified by:
getRemoteAddress
in interfaceNetworkBridgeViewMBean
-
getRemoteBrokerName
public String getRemoteBrokerName()
- Specified by:
getRemoteBrokerName
in interfaceNetworkBridgeViewMBean
-
getRemoteBrokerId
public String getRemoteBrokerId()
- Specified by:
getRemoteBrokerId
in interfaceNetworkBridgeViewMBean
-
getLocalBrokerName
public String getLocalBrokerName()
- Specified by:
getLocalBrokerName
in interfaceNetworkBridgeViewMBean
-
getEnqueueCounter
public long getEnqueueCounter()
- Specified by:
getEnqueueCounter
in interfaceNetworkBridgeViewMBean
-
getDequeueCounter
public long getDequeueCounter()
- Specified by:
getDequeueCounter
in interfaceNetworkBridgeViewMBean
-
getReceivedCounter
public long getReceivedCounter()
- Specified by:
getReceivedCounter
in interfaceNetworkBridgeViewMBean
-
isCreatedByDuplex
public boolean isCreatedByDuplex()
- Specified by:
isCreatedByDuplex
in interfaceNetworkBridgeViewMBean
-
setCreateByDuplex
public void setCreateByDuplex(boolean createByDuplex)
-
resetStats
public void resetStats()
- Specified by:
resetStats
in interfaceNetworkBridgeViewMBean
-
addNetworkDestinationView
public void addNetworkDestinationView(NetworkDestinationView networkDestinationView)
-
removeNetworkDestinationView
public void removeNetworkDestinationView(NetworkDestinationView networkDestinationView)
-
-