public class RWInfos extends AbstractModel
Constructor and Description |
---|
RWInfos() |
RWInfos(RWInfos 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 |
---|---|
Boolean |
getAutoAddRo()
Get Whether to automatically add newly created read-only instances to the proxy group
Note: this field may return `null`, indicating that no valid value can be found.
|
Boolean |
getFailOver()
Get Whether to enable failover
Note: this field may return `null`, indicating that no valid value can be found.
|
Long |
getInstCount()
Get Number of instances in the proxy group
Note: this field may return `null`, indicating that no valid value can be found.
|
Boolean |
getIsKickOut()
Get Whether to remove delayed read-only instances from the proxy group
Note: this field may return `null`, indicating that no valid value can be found.
|
Long |
getMaxDelay()
Get Delay threshold
Note: this field may return `null`, indicating that no valid value can be found.
|
Long |
getMinCount()
Get The minimum number of read-only instances allowed by the proxy group
Note: this field may return `null`, indicating that no valid value can be found.
|
RWInstanceInfo[] |
getRWInstInfo()
Get Information of instances in the proxy group
Note: this field may return `null`, indicating that no valid value can be found.
|
String |
getWeightMode()
Get Assignment mode of read/write weights
Valid values: `system` (auto-assigned), `custom`
Note: this field may return `null`, indicating that no valid value can be found.
|
void |
setAutoAddRo(Boolean AutoAddRo)
Set Whether to automatically add newly created read-only instances to the proxy group
Note: this field may return `null`, indicating that no valid value can be found.
|
void |
setFailOver(Boolean FailOver)
Set Whether to enable failover
Note: this field may return `null`, indicating that no valid value can be found.
|
void |
setInstCount(Long InstCount)
Set Number of instances in the proxy group
Note: this field may return `null`, indicating that no valid value can be found.
|
void |
setIsKickOut(Boolean IsKickOut)
Set Whether to remove delayed read-only instances from the proxy group
Note: this field may return `null`, indicating that no valid value can be found.
|
void |
setMaxDelay(Long MaxDelay)
Set Delay threshold
Note: this field may return `null`, indicating that no valid value can be found.
|
void |
setMinCount(Long MinCount)
Set The minimum number of read-only instances allowed by the proxy group
Note: this field may return `null`, indicating that no valid value can be found.
|
void |
setRWInstInfo(RWInstanceInfo[] RWInstInfo)
Set Information of instances in the proxy group
Note: this field may return `null`, indicating that no valid value can be found.
|
void |
setWeightMode(String WeightMode)
Set Assignment mode of read/write weights
Valid values: `system` (auto-assigned), `custom`
Note: this field may return `null`, indicating that no valid value can be found.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public RWInfos()
public RWInfos(RWInfos source)
public Long getInstCount()
public void setInstCount(Long InstCount)
InstCount
- Number of instances in the proxy group
Note: this field may return `null`, indicating that no valid value can be found.public String getWeightMode()
public void setWeightMode(String WeightMode)
WeightMode
- Assignment mode of read/write weights
Valid values: `system` (auto-assigned), `custom`
Note: this field may return `null`, indicating that no valid value can be found.public Boolean getIsKickOut()
public void setIsKickOut(Boolean IsKickOut)
IsKickOut
- Whether to remove delayed read-only instances from the proxy group
Note: this field may return `null`, indicating that no valid value can be found.public Long getMinCount()
public void setMinCount(Long MinCount)
MinCount
- The minimum number of read-only instances allowed by the proxy group
Note: this field may return `null`, indicating that no valid value can be found.public Long getMaxDelay()
public void setMaxDelay(Long MaxDelay)
MaxDelay
- Delay threshold
Note: this field may return `null`, indicating that no valid value can be found.public Boolean getFailOver()
public void setFailOver(Boolean FailOver)
FailOver
- Whether to enable failover
Note: this field may return `null`, indicating that no valid value can be found.public Boolean getAutoAddRo()
public void setAutoAddRo(Boolean AutoAddRo)
AutoAddRo
- Whether to automatically add newly created read-only instances to the proxy group
Note: this field may return `null`, indicating that no valid value can be found.public RWInstanceInfo[] getRWInstInfo()
public void setRWInstInfo(RWInstanceInfo[] RWInstInfo)
RWInstInfo
- Information of instances in the proxy group
Note: this field may return `null`, indicating that no valid value can be found.Copyright © 2023. All rights reserved.