Class AMQPFederationTargetControlType
java.lang.Object
javax.management.StandardMBean
org.apache.activemq.artemis.core.management.impl.AbstractControl
org.apache.activemq.artemis.protocol.amqp.connect.federation.AMQPFederationTargetControlType
- All Implemented Interfaces:
DynamicMBean, MBeanRegistration, AMQPFederationControl
public final class AMQPFederationTargetControlType
extends org.apache.activemq.artemis.core.management.impl.AbstractControl
implements AMQPFederationControl
Management service control instance for an AMQPFederationTarget instance that is the target of an AMQP broker
connection with federation configured. The target can behave much the same as a federation source but its scoped to
the connection and all operations cease as soon as the connection is closed.
-
Field Summary
Fields inherited from class org.apache.activemq.artemis.core.management.impl.AbstractControl
storageManager -
Constructor Summary
ConstructorsConstructorDescriptionAMQPFederationTargetControlType(org.apache.activemq.artemis.core.server.ActiveMQServer server, AMQPFederationTarget federation) -
Method Summary
Modifier and TypeMethodDescriptionprotected MBeanAttributeInfo[]protected MBeanOperationInfo[]longReturns the number of messages this federation has received from the remote.longReturns the number of messages this federation has sent to the remote.getName()Returns the configured name the AMQP federation 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
-
AMQPFederationTargetControlType
public AMQPFederationTargetControlType(org.apache.activemq.artemis.core.server.ActiveMQServer server, AMQPFederationTarget federation) throws NotCompliantMBeanException - Throws:
NotCompliantMBeanException
-
-
Method Details
-
getName
Description copied from interface:AMQPFederationControlReturns the configured name the AMQP federation being controlled.- Specified by:
getNamein interfaceAMQPFederationControl- Returns:
- the configured name the AMQP federation being controlled
-
getMessagesReceived
public long getMessagesReceived()Description copied from interface:AMQPFederationControlReturns the number of messages this federation has received from the remote.- Specified by:
getMessagesReceivedin interfaceAMQPFederationControl- Returns:
- the number of messages this federation has received from the remote
-
getMessagesSent
public long getMessagesSent()Description copied from interface:AMQPFederationControlReturns the number of messages this federation has sent to the remote.- Specified by:
getMessagesSentin interfaceAMQPFederationControl- Returns:
- the number of messages this federation 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
-