public class ReplicationSlaveHaPolicy extends Object
| Constructor and Description |
|---|
ReplicationSlaveHaPolicy() |
| 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.
|
ReplicationSlaveHaPolicy |
allowFailback(Boolean value)
Whether a server will automatically stop when a another places a request to take over its place.
|
String |
clusterName()
Name of the cluster used for replication.
|
ReplicationSlaveHaPolicy |
clusterName(String value)
Name of the cluster used for replication.
|
Long |
failbackDelay()
delay to wait before failback occurs on (live's) restart
|
ReplicationSlaveHaPolicy |
failbackDelay(Long value)
delay to wait before failback occurs on (live's) restart
|
String |
getKey() |
String |
groupName()
If set, backup servers will only pair with live servers with matching group-name.
|
ReplicationSlaveHaPolicy |
groupName(String value)
If set, backup servers will only pair with live servers with matching group-name.
|
Integer |
maxSavedReplicatedJournalSize()
This specifies how many times a replicated backup server can restart after moving its files on start.
|
ReplicationSlaveHaPolicy |
maxSavedReplicatedJournalSize(Integer value)
This specifies how many times a replicated backup server can restart after moving its files on start.
|
Boolean |
restartBackup()
Will this server, if a backup, restart once it has been stopped because of failback or scaling down.
|
ReplicationSlaveHaPolicy |
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.
|
ReplicationSlaveHaPolicy |
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.
|
ReplicationSlaveHaPolicy |
scaleDownClusterName(String value)
Name of the cluster used to scale down.
|
List<String> |
scaleDownConnectors()
List of connectors used to form the scale-down cluster.
|
ReplicationSlaveHaPolicy |
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
|
ReplicationSlaveHaPolicy |
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.
|
ReplicationSlaveHaPolicy |
scaleDownGroupName(String value)
Name of the group used to scale down.
|
public String getKey()
public Boolean allowFailback()
public ReplicationSlaveHaPolicy allowFailback(Boolean value)
public String clusterName()
public ReplicationSlaveHaPolicy clusterName(String value)
public Long failbackDelay()
public ReplicationSlaveHaPolicy failbackDelay(Long value)
public String groupName()
public ReplicationSlaveHaPolicy groupName(String value)
public Integer maxSavedReplicatedJournalSize()
public ReplicationSlaveHaPolicy maxSavedReplicatedJournalSize(Integer value)
public Boolean restartBackup()
public ReplicationSlaveHaPolicy restartBackup(Boolean value)
public Boolean scaleDown()
public ReplicationSlaveHaPolicy scaleDown(Boolean value)
public String scaleDownClusterName()
public ReplicationSlaveHaPolicy scaleDownClusterName(String value)
public List<String> scaleDownConnectors()
public ReplicationSlaveHaPolicy scaleDownConnectors(List<String> value)
public String scaleDownDiscoveryGroup()
public ReplicationSlaveHaPolicy scaleDownDiscoveryGroup(String value)
public String scaleDownGroupName()
public ReplicationSlaveHaPolicy scaleDownGroupName(String value)
Copyright © 2015 JBoss by Red Hat. All rights reserved.