public class SlaveConfiguration extends Object
| Constructor and Description |
|---|
SlaveConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
allowFailback()
Whether a server will automatically stop when a another places a request to take over its place.
|
SlaveConfiguration |
allowFailback(Boolean value)
Whether a server will automatically stop when a another places a request to take over its place.
|
Long |
failbackDelay()
delay to wait before failback occurs on (live's) restart
|
SlaveConfiguration |
failbackDelay(Long value)
delay to wait before failback occurs on (live's) restart
|
Boolean |
failoverOnServerShutdown()
Whether the server must failover when it is normally shutdown.
|
SlaveConfiguration |
failoverOnServerShutdown(Boolean value)
Whether the server must failover when it is normally shutdown.
|
String |
getKey() |
Boolean |
restartBackup()
Will this server, if a backup, restart once it has been stopped because of failback or scaling down.
|
SlaveConfiguration |
restartBackup(Boolean value)
Will this server, if a backup, restart once it has been stopped because of failback or scaling down.
|
Boolean |
scaleDown()
Configure whether this server send its messages to another live server in the scale-down cluster when it is shutdown cleanly.
|
SlaveConfiguration |
scaleDown(Boolean value)
Configure whether this server send its messages to another live server in the scale-down cluster when it is shutdown cleanly.
|
String |
scaleDownClusterName()
Name of the cluster used to scale down.
|
SlaveConfiguration |
scaleDownClusterName(String value)
Name of the cluster used to scale down.
|
List<String> |
scaleDownConnectors()
List of connectors used to form the scale-down cluster.
|
SlaveConfiguration |
scaleDownConnectors(List<String> value)
List of connectors used to form the scale-down cluster.
|
String |
scaleDownDiscoveryGroup()
Name of the discovery group used to build the scale-down cluster
|
SlaveConfiguration |
scaleDownDiscoveryGroup(String value)
Name of the discovery group used to build the scale-down cluster
|
String |
scaleDownGroupName()
Name of the group used to scale down.
|
SlaveConfiguration |
scaleDownGroupName(String value)
Name of the group used to scale down.
|
public String getKey()
public Boolean allowFailback()
public SlaveConfiguration allowFailback(Boolean value)
public Long failbackDelay()
public SlaveConfiguration failbackDelay(Long value)
public Boolean failoverOnServerShutdown()
public SlaveConfiguration failoverOnServerShutdown(Boolean value)
public Boolean restartBackup()
public SlaveConfiguration restartBackup(Boolean value)
public Boolean scaleDown()
public SlaveConfiguration scaleDown(Boolean value)
public String scaleDownClusterName()
public SlaveConfiguration scaleDownClusterName(String value)
public List<String> scaleDownConnectors()
public SlaveConfiguration scaleDownConnectors(List<String> value)
public String scaleDownDiscoveryGroup()
public SlaveConfiguration scaleDownDiscoveryGroup(String value)
public String scaleDownGroupName()
public SlaveConfiguration scaleDownGroupName(String value)
Copyright © 2015 JBoss by Red Hat. All rights reserved.