public class RuleCheckParams extends AbstractModel
Constructor and Description |
---|
RuleCheckParams() |
RuleCheckParams(RuleCheckParams 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 |
---|---|
Long |
getBlockInter()
Get 源站健康性检测超出阀值后,屏蔽的时间
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getConnectTimeout()
Get 健康检查的响应超时时间
|
Long |
getDelayLoop()
Get 健康检查的时间间隔
|
String |
getDomain()
Get 健康检查的检查域名。
当调用ModifyRuleAttribute时,不支持修改该参数。
|
Long |
getFailedCountInter()
Get 源站服务失败统计频率
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getFailedThreshold()
Get 源站健康性检查阀值,超过该阀值会屏蔽服务
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getMethod()
Get 健康检查的方法,GET/HEAD
|
String |
getPath()
Get 健康检查的检查路径
|
Long[] |
getStatusCode()
Get 确认源站正常的返回码,可选范围[100, 200, 300, 400, 500]
|
void |
setBlockInter(Long BlockInter)
Set 源站健康性检测超出阀值后,屏蔽的时间
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setConnectTimeout(Long ConnectTimeout)
Set 健康检查的响应超时时间
|
void |
setDelayLoop(Long DelayLoop)
Set 健康检查的时间间隔
|
void |
setDomain(String Domain)
Set 健康检查的检查域名。
当调用ModifyRuleAttribute时,不支持修改该参数。
|
void |
setFailedCountInter(Long FailedCountInter)
Set 源站服务失败统计频率
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setFailedThreshold(Long FailedThreshold)
Set 源站健康性检查阀值,超过该阀值会屏蔽服务
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setMethod(String Method)
Set 健康检查的方法,GET/HEAD
|
void |
setPath(String Path)
Set 健康检查的检查路径
|
void |
setStatusCode(Long[] StatusCode)
Set 确认源站正常的返回码,可选范围[100, 200, 300, 400, 500]
|
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 RuleCheckParams()
public RuleCheckParams(RuleCheckParams source)
public Long getDelayLoop()
public void setDelayLoop(Long DelayLoop)
DelayLoop
- 健康检查的时间间隔public Long getConnectTimeout()
public void setConnectTimeout(Long ConnectTimeout)
ConnectTimeout
- 健康检查的响应超时时间public String getPath()
public void setPath(String Path)
Path
- 健康检查的检查路径public String getMethod()
public void setMethod(String Method)
Method
- 健康检查的方法,GET/HEADpublic Long[] getStatusCode()
public void setStatusCode(Long[] StatusCode)
StatusCode
- 确认源站正常的返回码,可选范围[100, 200, 300, 400, 500]public String getDomain()
public void setDomain(String Domain)
Domain
- 健康检查的检查域名。
当调用ModifyRuleAttribute时,不支持修改该参数。public Long getFailedCountInter()
public void setFailedCountInter(Long FailedCountInter)
FailedCountInter
- 源站服务失败统计频率
注意:此字段可能返回 null,表示取不到有效值。public Long getFailedThreshold()
public void setFailedThreshold(Long FailedThreshold)
FailedThreshold
- 源站健康性检查阀值,超过该阀值会屏蔽服务
注意:此字段可能返回 null,表示取不到有效值。public Long getBlockInter()
public void setBlockInter(Long BlockInter)
BlockInter
- 源站健康性检测超出阀值后,屏蔽的时间
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2021. All rights reserved.