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 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()
BroadcastGroupControl
getGroupAddress
in interface BroadcastGroupControl
public int getGroupPort()
BroadcastGroupControl
getGroupPort
in interface BroadcastGroupControl
public int getLocalBindPort()
BroadcastGroupControl
getLocalBindPort
in interface BroadcastGroupControl
public boolean isStarted()
HornetQComponentControl
true
if this component is started, false
else.isStarted
in interface HornetQComponentControl
public void start() throws Exception
HornetQComponentControl
start
in interface HornetQComponentControl
Exception
public void stop() throws Exception
HornetQComponentControl
stop
in interface HornetQComponentControl
Exception
protected MBeanOperationInfo[] fillMBeanOperationInfo()
fillMBeanOperationInfo
in class AbstractControl
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.