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 Number of acknowledged failed detections.
|
Long |
getInitialDelaySeconds()
Get Delay in waiting for a service startup.
|
Long |
getPeriodSeconds()
Get Polling check interval.
|
ProbeAction |
getProbeAction()
Get Probe action.
|
Long |
getSuccessThreshold()
Get Number of acknowledged successful detections.
|
Long |
getTimeoutSeconds()
Get Check timeout duration.
|
void |
setFailureThreshold(Long FailureThreshold)
Set Number of acknowledged failed detections.
|
void |
setInitialDelaySeconds(Long InitialDelaySeconds)
Set Delay in waiting for a service startup.
|
void |
setPeriodSeconds(Long PeriodSeconds)
Set Polling check interval.
|
void |
setProbeAction(ProbeAction ProbeAction)
Set Probe action.
|
void |
setSuccessThreshold(Long SuccessThreshold)
Set Number of acknowledged successful detections.
|
void |
setTimeoutSeconds(Long TimeoutSeconds)
Set Check timeout duration.
|
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 - Probe action.public Long getInitialDelaySeconds()
public void setInitialDelaySeconds(Long InitialDelaySeconds)
InitialDelaySeconds - Delay in waiting for a service startup.public Long getPeriodSeconds()
public void setPeriodSeconds(Long PeriodSeconds)
PeriodSeconds - Polling check interval.public Long getTimeoutSeconds()
public void setTimeoutSeconds(Long TimeoutSeconds)
TimeoutSeconds - Check timeout duration.public Long getFailureThreshold()
public void setFailureThreshold(Long FailureThreshold)
FailureThreshold - Number of acknowledged failed detections.public Long getSuccessThreshold()
public void setSuccessThreshold(Long SuccessThreshold)
SuccessThreshold - Number of acknowledged successful detections. The default values for readiness, liveness, and startup statuses are 3, 1, and 1.Copyright © 2025. All rights reserved.