public class Probe extends AbstractModel
header, skipSign
Constructor and Description |
---|
Probe() |
Probe(Probe 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 |
getFailureThreshold()
Get 当Pod成功启动且检查失败时,放弃之前尝试次数。默认为3.最小值为1
注意:此字段可能返回 null,表示取不到有效值。
|
HttpProbe |
getHttpProbe()
Get HTTP探测配置
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getInitialDelaySeconds()
Get 启动后,延迟探测时间 单位:秒
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getPeriodSeconds()
Get 探测间隔,单位:秒
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getSuccessThreshold()
Get 失败后检查成功的最小连续成功次数。默认为1.活跃度必须为1。最小值为1
注意:此字段可能返回 null,表示取不到有效值。
|
TcpProbe |
getTcpProbe()
Get TCP探测配置
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getTimeoutSeconds()
Get 探测超时时间 单位:秒
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setFailureThreshold(Long FailureThreshold)
Set 当Pod成功启动且检查失败时,放弃之前尝试次数。默认为3.最小值为1
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setHttpProbe(HttpProbe HttpProbe)
Set HTTP探测配置
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setInitialDelaySeconds(Long InitialDelaySeconds)
Set 启动后,延迟探测时间 单位:秒
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setPeriodSeconds(Long PeriodSeconds)
Set 探测间隔,单位:秒
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setSuccessThreshold(Long SuccessThreshold)
Set 失败后检查成功的最小连续成功次数。默认为1.活跃度必须为1。最小值为1
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setTcpProbe(TcpProbe TcpProbe)
Set TCP探测配置
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setTimeoutSeconds(Long TimeoutSeconds)
Set 探测超时时间 单位:秒
注意:此字段可能返回 null,表示取不到有效值。
|
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 Probe()
public Probe(Probe source)
public Long getInitialDelaySeconds()
public void setInitialDelaySeconds(Long InitialDelaySeconds)
InitialDelaySeconds
- 启动后,延迟探测时间 单位:秒
注意:此字段可能返回 null,表示取不到有效值。public Long getPeriodSeconds()
public void setPeriodSeconds(Long PeriodSeconds)
PeriodSeconds
- 探测间隔,单位:秒
注意:此字段可能返回 null,表示取不到有效值。public Long getTimeoutSeconds()
public void setTimeoutSeconds(Long TimeoutSeconds)
TimeoutSeconds
- 探测超时时间 单位:秒
注意:此字段可能返回 null,表示取不到有效值。public Long getSuccessThreshold()
public void setSuccessThreshold(Long SuccessThreshold)
SuccessThreshold
- 失败后检查成功的最小连续成功次数。默认为1.活跃度必须为1。最小值为1
注意:此字段可能返回 null,表示取不到有效值。public Long getFailureThreshold()
public void setFailureThreshold(Long FailureThreshold)
FailureThreshold
- 当Pod成功启动且检查失败时,放弃之前尝试次数。默认为3.最小值为1
注意:此字段可能返回 null,表示取不到有效值。public HttpProbe getHttpProbe()
public void setHttpProbe(HttpProbe HttpProbe)
HttpProbe
- HTTP探测配置
注意:此字段可能返回 null,表示取不到有效值。public TcpProbe getTcpProbe()
public void setTcpProbe(TcpProbe TcpProbe)
TcpProbe
- TCP探测配置
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2024. All rights reserved.