public class BaseBroadcastGroupControlImpl extends AbstractControl implements BaseBroadcastGroupControl
storageManager
Constructor and Description |
---|
BaseBroadcastGroupControlImpl(BroadcastGroup broadcastGroup,
StorageManager storageManager,
BroadcastGroupConfiguration configuration) |
BaseBroadcastGroupControlImpl(Class broadcastGroupControlClass,
BroadcastGroup broadcastGroup,
StorageManager storageManager,
BroadcastGroupConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
protected MBeanAttributeInfo[] |
fillMBeanAttributeInfo() |
protected MBeanOperationInfo[] |
fillMBeanOperationInfo() |
protected BroadcastGroup |
getBroadcastGroup() |
long |
getBroadcastPeriod()
Returns the period used by this broadcast group.
|
Object[] |
getConnectorPairs()
Returns the pairs of live-backup connectors that are broadcasted by this broadcast group.
|
String |
getConnectorPairsAsJSON()
Returns the pairs of live-backup connectors that are broadcasted by this broadcast group
using JSON serialization.
|
String |
getName()
Returns the configuration name of this broadcast group.
|
boolean |
isStarted()
Returns
true if this component is started, false else. |
void |
start()
Starts this component.
|
void |
stop()
Stops this component.
|
blockOnIO, clearIO, getMBeanInfo, sendMessage, tcclCall, tcclInvoke
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
public BaseBroadcastGroupControlImpl(BroadcastGroup broadcastGroup, StorageManager storageManager, BroadcastGroupConfiguration configuration) throws Exception
Exception
public BaseBroadcastGroupControlImpl(Class broadcastGroupControlClass, BroadcastGroup broadcastGroup, StorageManager storageManager, BroadcastGroupConfiguration configuration) throws Exception
Exception
public String getName()
BaseBroadcastGroupControl
getName
in interface BaseBroadcastGroupControl
public long getBroadcastPeriod()
BaseBroadcastGroupControl
getBroadcastPeriod
in interface BaseBroadcastGroupControl
public Object[] getConnectorPairs()
BaseBroadcastGroupControl
getConnectorPairs
in interface BaseBroadcastGroupControl
public String getConnectorPairsAsJSON() throws Exception
BaseBroadcastGroupControl
getConnectorPairsAsJSON
in interface BaseBroadcastGroupControl
Exception
public boolean isStarted()
ActiveMQComponentControl
true
if this component is started, false
else.isStarted
in interface ActiveMQComponentControl
public void start() throws Exception
ActiveMQComponentControl
start
in interface ActiveMQComponentControl
Exception
public void stop() throws Exception
ActiveMQComponentControl
stop
in interface ActiveMQComponentControl
Exception
protected MBeanOperationInfo[] fillMBeanOperationInfo()
fillMBeanOperationInfo
in class AbstractControl
protected MBeanAttributeInfo[] fillMBeanAttributeInfo()
fillMBeanAttributeInfo
in class AbstractControl
protected BroadcastGroup getBroadcastGroup()
Copyright © 2021 JBoss by Red Hat. All rights reserved.