Class BaseBroadcastGroupControlImpl
java.lang.Object
javax.management.StandardMBean
org.apache.activemq.artemis.core.management.impl.AbstractControl
org.apache.activemq.artemis.core.management.impl.BaseBroadcastGroupControlImpl
- All Implemented Interfaces:
DynamicMBean,MBeanRegistration,ActiveMQComponentControl,BaseBroadcastGroupControl
- Direct Known Subclasses:
BroadcastGroupControlImpl,JGroupsChannelBroadcastGroupControlImpl,JGroupsFileBroadcastGroupControlImpl
public class BaseBroadcastGroupControlImpl
extends AbstractControl
implements BaseBroadcastGroupControl
-
Field Summary
Fields inherited from class org.apache.activemq.artemis.core.management.impl.AbstractControl
storageManager -
Constructor Summary
ConstructorsConstructorDescriptionBaseBroadcastGroupControlImpl(Class broadcastGroupControlClass, BroadcastGroup broadcastGroup, StorageManager storageManager, BroadcastGroupConfiguration configuration) BaseBroadcastGroupControlImpl(BroadcastGroup broadcastGroup, StorageManager storageManager, BroadcastGroupConfiguration configuration) -
Method Summary
Modifier and TypeMethodDescriptionprotected MBeanAttributeInfo[]protected MBeanOperationInfo[]protected BroadcastGrouplongReturns the period used by this broadcast group.Object[]Returns the pairs of live-backup connectors that are broadcasted by this broadcast group.Returns the pairs of live-backup connectors that are broadcasted by this broadcast group.getName()Returns the configuration name of this broadcast group.booleanReturnstrueif this component is started,falseelse..voidstart()Starts this component.voidstop()Stops this component.Methods inherited from class org.apache.activemq.artemis.core.management.impl.AbstractControl
blockOnIO, clearIO, getMBeanInfo, sendMessage, tcclCall, tcclInvokeMethods inherited from class javax.management.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
-
BaseBroadcastGroupControlImpl
public BaseBroadcastGroupControlImpl(BroadcastGroup broadcastGroup, StorageManager storageManager, BroadcastGroupConfiguration configuration) throws Exception - Throws:
Exception
-
BaseBroadcastGroupControlImpl
public BaseBroadcastGroupControlImpl(Class broadcastGroupControlClass, BroadcastGroup broadcastGroup, StorageManager storageManager, BroadcastGroupConfiguration configuration) throws Exception - Throws:
Exception
-
-
Method Details
-
getName
Description copied from interface:BaseBroadcastGroupControlReturns the configuration name of this broadcast group.- Specified by:
getNamein interfaceBaseBroadcastGroupControl- Returns:
- the configuration name of this broadcast group
-
getBroadcastPeriod
public long getBroadcastPeriod()Description copied from interface:BaseBroadcastGroupControlReturns the period used by this broadcast group.- Specified by:
getBroadcastPeriodin interfaceBaseBroadcastGroupControl- Returns:
- the period used by this broadcast group
-
getConnectorPairs
Description copied from interface:BaseBroadcastGroupControlReturns the pairs of live-backup connectors that are broadcasted by this broadcast group.- Specified by:
getConnectorPairsin interfaceBaseBroadcastGroupControl- Returns:
- the pairs of live-backup connectors that are broadcasted by this broadcast group
-
getConnectorPairsAsJSON
Description copied from interface:BaseBroadcastGroupControlReturns the pairs of live-backup connectors that are broadcasted by this broadcast group. using JSON serialization.- Specified by:
getConnectorPairsAsJSONin interfaceBaseBroadcastGroupControl- Returns:
- the pairs of live-backup connectors that are broadcasted by this broadcast group
- Throws:
Exception
-
isStarted
public boolean isStarted()Description copied from interface:ActiveMQComponentControlReturnstrueif this component is started,falseelse..- Specified by:
isStartedin interfaceActiveMQComponentControl- Returns:
trueif this component is started,falseelse.
-
start
Description copied from interface:ActiveMQComponentControlStarts this component.- Specified by:
startin interfaceActiveMQComponentControl- Throws:
Exception
-
stop
Description copied from interface:ActiveMQComponentControlStops this component.- Specified by:
stopin interfaceActiveMQComponentControl- Throws:
Exception
-
fillMBeanOperationInfo
- Specified by:
fillMBeanOperationInfoin classAbstractControl
-
fillMBeanAttributeInfo
- Specified by:
fillMBeanAttributeInfoin classAbstractControl
-
getBroadcastGroup
-