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 检测失败认定次数 | 
| Long | getInitialDelaySeconds()Get 等待服务启动的延迟 | 
| Long | getPeriodSeconds()Get 轮询检查时间间隔 | 
| ProbeAction | getProbeAction()Get 探针行为 | 
| Long | getSuccessThreshold()Get 检测成功认定次数,就绪默认 3,存活/启动默认 1 | 
| Long | getTimeoutSeconds()Get 检查超时时长 | 
| void | setFailureThreshold(Long FailureThreshold)Set 检测失败认定次数 | 
| void | setInitialDelaySeconds(Long InitialDelaySeconds)Set 等待服务启动的延迟 | 
| void | setPeriodSeconds(Long PeriodSeconds)Set 轮询检查时间间隔 | 
| void | setProbeAction(ProbeAction ProbeAction)Set 探针行为 | 
| void | setSuccessThreshold(Long SuccessThreshold)Set 检测成功认定次数,就绪默认 3,存活/启动默认 1 | 
| void | setTimeoutSeconds(Long TimeoutSeconds)Set 检查超时时长 | 
| 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, toJsonStringpublic Probe()
public Probe(Probe source)
public ProbeAction getProbeAction()
public void setProbeAction(ProbeAction ProbeAction)
ProbeAction - 探针行为public Long getInitialDelaySeconds()
public void setInitialDelaySeconds(Long InitialDelaySeconds)
InitialDelaySeconds - 等待服务启动的延迟public Long getPeriodSeconds()
public void setPeriodSeconds(Long PeriodSeconds)
PeriodSeconds - 轮询检查时间间隔public Long getTimeoutSeconds()
public void setTimeoutSeconds(Long TimeoutSeconds)
TimeoutSeconds - 检查超时时长public Long getFailureThreshold()
public void setFailureThreshold(Long FailureThreshold)
FailureThreshold - 检测失败认定次数public Long getSuccessThreshold()
public void setSuccessThreshold(Long SuccessThreshold)
SuccessThreshold - 检测成功认定次数,就绪默认 3,存活/启动默认 1Copyright © 2025. All rights reserved.