Class AMQPBridgeManagerControlType
java.lang.Object
javax.management.StandardMBean
org.apache.activemq.artemis.core.management.impl.AbstractControl
org.apache.activemq.artemis.protocol.amqp.connect.bridge.AMQPBridgeManagerControlType
- All Implemented Interfaces:
DynamicMBean, MBeanRegistration, AMQPBridgeManagerControl
public final class AMQPBridgeManagerControlType
extends org.apache.activemq.artemis.core.management.impl.AbstractControl
implements AMQPBridgeManagerControl
Management service control instance for an AMQP bridge manager instance that bridges messages to
or from the remote peer on the opposing side of this broker connection. The bridgeManager manager has
a lifetime that matches that of its parent broker connection.
-
Field Summary
Fields inherited from class org.apache.activemq.artemis.core.management.impl.AbstractControl
storageManager -
Constructor Summary
ConstructorsConstructorDescriptionAMQPBridgeManagerControlType(org.apache.activemq.artemis.core.server.ActiveMQServer server, AMQPBridgeManager bridge) -
Method Summary
Modifier and TypeMethodDescriptionprotected MBeanAttributeInfo[]protected MBeanOperationInfo[]longReturns the number of messages this bridge has received from the remote.longReturns the number of messages this bridge has sent to the remote.getName()Returns the configured name the AMQP bridge being controlled.Methods inherited from class org.apache.activemq.artemis.core.management.impl.AbstractControl
blockOnIO, clearIO, getMBeanInfo, sendMessage, tcclCall, tcclInvokeMethods inherited from class StandardMBean
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
-
Constructor Details
-
AMQPBridgeManagerControlType
public AMQPBridgeManagerControlType(org.apache.activemq.artemis.core.server.ActiveMQServer server, AMQPBridgeManager bridge) throws NotCompliantMBeanException - Throws:
NotCompliantMBeanException
-
-
Method Details
-
getName
Description copied from interface:AMQPBridgeManagerControlReturns the configured name the AMQP bridge being controlled.- Specified by:
getNamein interfaceAMQPBridgeManagerControl- Returns:
- the configured name the AMQP bridge being controlled
-
getMessagesReceived
public long getMessagesReceived()Description copied from interface:AMQPBridgeManagerControlReturns the number of messages this bridge has received from the remote.- Specified by:
getMessagesReceivedin interfaceAMQPBridgeManagerControl- Returns:
- the number of messages this bridge has received from the remote
-
getMessagesSent
public long getMessagesSent()Description copied from interface:AMQPBridgeManagerControlReturns the number of messages this bridge has sent to the remote.- Specified by:
getMessagesSentin interfaceAMQPBridgeManagerControl- Returns:
- the number of messages this bridge has sent to the remote
-
fillMBeanOperationInfo
- Specified by:
fillMBeanOperationInfoin classorg.apache.activemq.artemis.core.management.impl.AbstractControl
-
fillMBeanAttributeInfo
- Specified by:
fillMBeanAttributeInfoin classorg.apache.activemq.artemis.core.management.impl.AbstractControl
-