org.wildfly.swarm.config.messaging.activemq.server

## Class BroadcastGroup<T extends BroadcastGroup<T>>

- java.lang.Object
- - org.wildfly.swarm.config.messaging.activemq.server.BroadcastGroup<T>

-     public class BroadcastGroup<T extends BroadcastGroup<T>>
      extends Object

  A broadcast group is the means by which a server broadcasts connectors over the network.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BroadcastGroup(String key)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addPropertyChangeListener(PropertyChangeListener listener)` Adds a property change listener
    `Long` | `broadcastPeriod()` The period in milliseconds between consecutive broadcasts.
    `T` | `broadcastPeriod(Long value)` The period in milliseconds between consecutive broadcasts.
    `T` | `connector(String value)` Specifies the names of connectors that will be broadcast.
    `List<String>` | `connectors()` Specifies the names of connectors that will be broadcast.
    `T` | `connectors(List<String> value)` Specifies the names of connectors that will be broadcast.
    `T` | `connectors(String... args)` Specifies the names of connectors that will be broadcast.
    `String` | `getKey()`
    `String` | `jgroupsChannel()` The name used by a JGroups channel to join a cluster.
    `T` | `jgroupsChannel(String value)` The name used by a JGroups channel to join a cluster.
    `String` | `jgroupsStack()` The name of a stack defined in the org.jboss.as.clustering.jgroups subsystem that is used to form a cluster.
    `T` | `jgroupsStack(String value)` The name of a stack defined in the org.jboss.as.clustering.jgroups subsystem that is used to form a cluster.
    `void` | `removePropertyChangeListener(PropertyChangeListener listener)` Removes a property change listener
    `String` | `socketBinding()` The broadcast group socket binding.
    `T` | `socketBinding(String value)` The broadcast group socket binding.
    `Boolean` | `started()` Whether the broadcast group is started.
    `T` | `started(Boolean value)` Whether the broadcast group is started.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BroadcastGroup

          public BroadcastGroup(String key)

  - ### Method Detail

    - #### getKey

          public String getKey()

    - #### addPropertyChangeListener

          public void addPropertyChangeListener(PropertyChangeListener listener)

      Adds a property change listener

    - #### removePropertyChangeListener

          public void removePropertyChangeListener(PropertyChangeListener listener)

      Removes a property change listener

    - #### broadcastPeriod

          public Long broadcastPeriod()

      The period in milliseconds between consecutive broadcasts.

    - #### broadcastPeriod

          public T broadcastPeriod(Long value)

      The period in milliseconds between consecutive broadcasts.

    - #### connectors

          public List<String> connectors()

      Specifies the names of connectors that will be broadcast.

    - #### connectors

          public T connectors(List<String> value)

      Specifies the names of connectors that will be broadcast.

    - #### connector

          public T connector(String value)

      Specifies the names of connectors that will be broadcast.

    - #### connectors

          public T connectors(String... args)

      Specifies the names of connectors that will be broadcast.

    - #### jgroupsChannel

          public String jgroupsChannel()

      The name used by a JGroups channel to join a cluster.

    - #### jgroupsChannel

          public T jgroupsChannel(String value)

      The name used by a JGroups channel to join a cluster.

    - #### jgroupsStack

          public String jgroupsStack()

      The name of a stack defined in the org.jboss.as.clustering.jgroups subsystem that is used to form a cluster.

    - #### jgroupsStack

          public T jgroupsStack(String value)

      The name of a stack defined in the org.jboss.as.clustering.jgroups subsystem that is used to form a cluster.

    - #### socketBinding

          public String socketBinding()

      The broadcast group socket binding.

    - #### socketBinding

          public T socketBinding(String value)

      The broadcast group socket binding.

    - #### started

          public Boolean started()

      Whether the broadcast group is started.

    - #### started

          public T started(Boolean value)

      Whether the broadcast group is started.

Copyright © 2017 JBoss by Red Hat. All rights reserved.