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, getMBeanInfocacheMBeanInfo, 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, setImplementationpublic BroadcastGroupControlImpl(BroadcastGroup broadcastGroup, StorageManager storageManager, BroadcastGroupConfiguration configuration) throws Exception
Exceptionpublic String getName()
BroadcastGroupControlgetName in interface BroadcastGroupControlpublic long getBroadcastPeriod()
BroadcastGroupControlgetBroadcastPeriod in interface BroadcastGroupControlpublic Object[] getConnectorPairs()
BroadcastGroupControlgetConnectorPairs in interface BroadcastGroupControlpublic String getConnectorPairsAsJSON() throws Exception
BroadcastGroupControlgetConnectorPairsAsJSON in interface BroadcastGroupControlExceptionpublic String getGroupAddress()
BroadcastGroupControlgetGroupAddress in interface BroadcastGroupControlpublic int getGroupPort()
BroadcastGroupControlgetGroupPort in interface BroadcastGroupControlpublic int getLocalBindPort()
BroadcastGroupControlgetLocalBindPort in interface BroadcastGroupControlpublic boolean isStarted()
HornetQComponentControltrue if this component is started, false else.isStarted in interface HornetQComponentControlpublic void start()
throws Exception
HornetQComponentControlstart in interface HornetQComponentControlExceptionpublic void stop()
throws Exception
HornetQComponentControlstop in interface HornetQComponentControlExceptionprotected MBeanOperationInfo[] fillMBeanOperationInfo()
fillMBeanOperationInfo in class AbstractControlCopyright © 2012 JBoss by Red Hat. All Rights Reserved.