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, 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() throws Exception
BroadcastGroupControlgetGroupAddress in interface BroadcastGroupControlExceptionpublic int getGroupPort()
throws Exception
BroadcastGroupControlgetGroupPort in interface BroadcastGroupControlExceptionpublic int getLocalBindPort()
throws Exception
BroadcastGroupControlgetLocalBindPort in interface BroadcastGroupControlExceptionpublic boolean isStarted()
ActiveMQComponentControltrue if this component is started, false else.isStarted in interface ActiveMQComponentControlpublic void start()
throws Exception
ActiveMQComponentControlstart in interface ActiveMQComponentControlExceptionpublic void stop()
throws Exception
ActiveMQComponentControlstop in interface ActiveMQComponentControlExceptionprotected MBeanOperationInfo[] fillMBeanOperationInfo()
fillMBeanOperationInfo in class AbstractControlprotected MBeanAttributeInfo[] fillMBeanAttributeInfo()
fillMBeanAttributeInfo in class AbstractControlCopyright © 2018 JBoss by Red Hat. All rights reserved.