public class NetworkBridgeView extends Object implements NetworkBridgeViewMBean
| Constructor and Description |
|---|
NetworkBridgeView(NetworkBridge bridge) |
| Modifier and Type | Method and 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() |
public NetworkBridgeView(NetworkBridge bridge)
public void start() throws Exception
start in interface org.apache.activemq.ServiceExceptionpublic void stop() throws Exception
stop in interface org.apache.activemq.ServiceExceptionpublic String getLocalAddress()
getLocalAddress in interface NetworkBridgeViewMBeanpublic String getRemoteAddress()
getRemoteAddress in interface NetworkBridgeViewMBeanpublic String getRemoteBrokerName()
getRemoteBrokerName in interface NetworkBridgeViewMBeanpublic String getRemoteBrokerId()
getRemoteBrokerId in interface NetworkBridgeViewMBeanpublic String getLocalBrokerName()
getLocalBrokerName in interface NetworkBridgeViewMBeanpublic long getEnqueueCounter()
getEnqueueCounter in interface NetworkBridgeViewMBeanpublic long getDequeueCounter()
getDequeueCounter in interface NetworkBridgeViewMBeanpublic long getReceivedCounter()
getReceivedCounter in interface NetworkBridgeViewMBeanpublic boolean isCreatedByDuplex()
isCreatedByDuplex in interface NetworkBridgeViewMBeanpublic void setCreateByDuplex(boolean createByDuplex)
public void resetStats()
resetStats in interface NetworkBridgeViewMBeanpublic void addNetworkDestinationView(NetworkDestinationView networkDestinationView)
public void removeNetworkDestinationView(NetworkDestinationView networkDestinationView)
Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.