public class BroadcastGroupControlImpl extends AbstractControl implements BroadcastGroupControl
storageManager
Constructor and Description |
---|
BroadcastGroupControlImpl(BroadcastGroup broadcastGroup,
StorageManager storageManager,
BroadcastGroupConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
protected MBeanAttributeInfo[] |
fillMBeanAttributeInfo() |
protected MBeanOperationInfo[] |
fillMBeanOperationInfo() |
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 |
getGroupAddress()
Returns the address this broadcast group is broadcasting to.
|
int |
getGroupPort()
Returns the port this broadcast group is broadcasting to.
|
int |
getLocalBindPort()
Returns the local port this broadcast group is bound to.
|
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
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 BroadcastGroupControlImpl(BroadcastGroup broadcastGroup, StorageManager storageManager, BroadcastGroupConfiguration configuration) throws Exception
Exception
public String getName()
BroadcastGroupControl
getName
in interface BroadcastGroupControl
public long getBroadcastPeriod()
BroadcastGroupControl
getBroadcastPeriod
in interface BroadcastGroupControl
public Object[] getConnectorPairs()
BroadcastGroupControl
getConnectorPairs
in interface BroadcastGroupControl
public String getConnectorPairsAsJSON() throws Exception
BroadcastGroupControl
getConnectorPairsAsJSON
in interface BroadcastGroupControl
Exception
public String getGroupAddress() throws Exception
BroadcastGroupControl
getGroupAddress
in interface BroadcastGroupControl
Exception
public int getGroupPort() throws Exception
BroadcastGroupControl
getGroupPort
in interface BroadcastGroupControl
Exception
public int getLocalBindPort() throws Exception
BroadcastGroupControl
getLocalBindPort
in interface BroadcastGroupControl
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
Copyright © 2018 JBoss by Red Hat. All rights reserved.