Interface BaseBroadcastGroupControl
- All Superinterfaces:
ActiveMQComponentControl
- All Known Subinterfaces:
BroadcastGroupControl
,JGroupsChannelBroadcastGroupControl
,JGroupsFileBroadcastGroupControl
A BroadcastGroupControl is used to manage a broadcast group.
-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the period used by this broadcast group.Object[]
Returns the pairs of live-backup connectors that are broadcasted by this broadcast group.Returns the pairs of live-backup connectors that are broadcasted by this broadcast group.getName()
Returns the configuration name of this broadcast group.Methods inherited from interface org.apache.activemq.artemis.api.core.management.ActiveMQComponentControl
isStarted, start, stop
-
Method Details
-
getName
String getName()Returns the configuration name of this broadcast group.- Returns:
- the configuration name of this broadcast group
-
getBroadcastPeriod
long getBroadcastPeriod()Returns the period used by this broadcast group.- Returns:
- the period used by this broadcast group
-
getConnectorPairs
Object[] getConnectorPairs()Returns the pairs of live-backup connectors that are broadcasted by this broadcast group.- Returns:
- the pairs of live-backup connectors that are broadcasted by this broadcast group
-
getConnectorPairsAsJSON
Returns the pairs of live-backup connectors that are broadcasted by this broadcast group. using JSON serialization.- Returns:
- the pairs of live-backup connectors that are broadcasted by this broadcast group
- Throws:
Exception
-