public class SharedStoreSlaveHaPolicy extends Object
| Constructor and Description |
|---|
SharedStoreSlaveHaPolicy() |
| 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.
|
SharedStoreSlaveHaPolicy |
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
|
SharedStoreSlaveHaPolicy |
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.
|
SharedStoreSlaveHaPolicy |
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.
|
SharedStoreSlaveHaPolicy |
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.
|
SharedStoreSlaveHaPolicy |
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.
|
SharedStoreSlaveHaPolicy |
scaleDownClusterName(String value)
Name of the cluster used to scale down.
|
List<String> |
scaleDownConnectors()
List of connectors used to form the scale-down cluster.
|
SharedStoreSlaveHaPolicy |
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
|
SharedStoreSlaveHaPolicy |
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.
|
SharedStoreSlaveHaPolicy |
scaleDownGroupName(String value)
Name of the group used to scale down.
|
public String getKey()
public Boolean allowFailback()
public SharedStoreSlaveHaPolicy allowFailback(Boolean value)
public Long failbackDelay()
public SharedStoreSlaveHaPolicy failbackDelay(Long value)
public Boolean failoverOnServerShutdown()
public SharedStoreSlaveHaPolicy failoverOnServerShutdown(Boolean value)
public Boolean restartBackup()
public SharedStoreSlaveHaPolicy restartBackup(Boolean value)
public Boolean scaleDown()
public SharedStoreSlaveHaPolicy scaleDown(Boolean value)
public String scaleDownClusterName()
public SharedStoreSlaveHaPolicy scaleDownClusterName(String value)
public List<String> scaleDownConnectors()
public SharedStoreSlaveHaPolicy scaleDownConnectors(List<String> value)
public String scaleDownDiscoveryGroup()
public SharedStoreSlaveHaPolicy scaleDownDiscoveryGroup(String value)
public String scaleDownGroupName()
public SharedStoreSlaveHaPolicy scaleDownGroupName(String value)
Copyright © 2015 JBoss by Red Hat. All rights reserved.