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

## Class MasterConfiguration<T extends MasterConfiguration<T>>

- java.lang.Object
- - org.wildfly.swarm.config.messaging.activemq.server.ha_policy.shared_store_colocated.MasterConfiguration<T>

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

  A messaging resource that allows you to configure High Availability for the ActiveMQ server (the value of ha-policy can be live-only, replication-master, replication-slave, or replication-colocated).

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MasterConfiguration()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addPropertyChangeListener(PropertyChangeListener listener)` Adds a property change listener
    `Boolean` | `failoverOnServerShutdown()` Whether the server must failover when it is normally shutdown.
    `T` | `failoverOnServerShutdown(Boolean value)` Whether the server must failover when it is normally shutdown.
    `String` | `getKey()`
    `void` | `removePropertyChangeListener(PropertyChangeListener listener)` Removes a property change listener

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

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

- - ### Constructor Detail

    - #### MasterConfiguration

          public MasterConfiguration()

  - ### 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

    - #### failoverOnServerShutdown

          public Boolean failoverOnServerShutdown()

      Whether the server must failover when it is normally shutdown.

    - #### failoverOnServerShutdown

          public T failoverOnServerShutdown(Boolean value)

      Whether the server must failover when it is normally shutdown.

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