public class ModifyClusterSlaveZoneRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifyClusterSlaveZoneRequest() |
ModifyClusterSlaveZoneRequest(ModifyClusterSlaveZoneRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getBinlogSyncWay()
Get binlog同步方式。默认值:async。可选值:sync、semisync、async
|
String |
getClusterId()
Get 集群Id
|
String |
getNewSlaveZone()
Get 新从可用区
|
String |
getOldSlaveZone()
Get 旧从可用区
|
Long |
getSemiSyncTimeout()
Get 半同步超时时间,单位ms。为保证业务稳定性,半同步复制存在退化逻辑,当主可用区集群在等待备可用区集群确认事务时若超过该超时时间,复制方式将降为异步复制。最低设置为1000ms,最高支持4294967295ms,默认10000ms。
|
void |
setBinlogSyncWay(String BinlogSyncWay)
Set binlog同步方式。默认值:async。可选值:sync、semisync、async
|
void |
setClusterId(String ClusterId)
Set 集群Id
|
void |
setNewSlaveZone(String NewSlaveZone)
Set 新从可用区
|
void |
setOldSlaveZone(String OldSlaveZone)
Set 旧从可用区
|
void |
setSemiSyncTimeout(Long SemiSyncTimeout)
Set 半同步超时时间,单位ms。为保证业务稳定性,半同步复制存在退化逻辑,当主可用区集群在等待备可用区集群确认事务时若超过该超时时间,复制方式将降为异步复制。最低设置为1000ms,最高支持4294967295ms,默认10000ms。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ModifyClusterSlaveZoneRequest()
public ModifyClusterSlaveZoneRequest(ModifyClusterSlaveZoneRequest source)
public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- 集群Idpublic String getOldSlaveZone()
public void setOldSlaveZone(String OldSlaveZone)
OldSlaveZone
- 旧从可用区public String getNewSlaveZone()
public void setNewSlaveZone(String NewSlaveZone)
NewSlaveZone
- 新从可用区public String getBinlogSyncWay()
public void setBinlogSyncWay(String BinlogSyncWay)
BinlogSyncWay
- binlog同步方式。默认值:async。可选值:sync、semisync、asyncpublic Long getSemiSyncTimeout()
public void setSemiSyncTimeout(Long SemiSyncTimeout)
SemiSyncTimeout
- 半同步超时时间,单位ms。为保证业务稳定性,半同步复制存在退化逻辑,当主可用区集群在等待备可用区集群确认事务时若超过该超时时间,复制方式将降为异步复制。最低设置为1000ms,最高支持4294967295ms,默认10000ms。Copyright © 2025. All rights reserved.