类 Probe
- java.lang.Object
-
- com.baidubce.services.bci.model.common.Probe
-
public class Probe extends Object
The probe of container
-
-
构造器概要
构造器 构造器 说明 Probe()The constructor of ProbeProbe(ExecAction exec, HTTPGetAction httpGet, TCPSocketAction tcpSocket, GRPCAction grpc, int initialDelaySeconds, int timeoutSeconds, int periodSeconds, int successThreshold, int failureThreshold, long terminationGracePeriodSeconds)The constructor of Probe
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ExecActiongetExec()intgetFailureThreshold()GRPCActiongetGrpc()HTTPGetActiongetHttpGet()intgetInitialDelaySeconds()intgetPeriodSeconds()intgetSuccessThreshold()TCPSocketActiongetTcpSocket()longgetTerminationGracePeriodSeconds()intgetTimeoutSeconds()ProbesetExec(ExecAction exec)ProbesetFailureThreshold(int failureThreshold)ProbesetGrpc(GRPCAction grpc)ProbesetHttpGet(HTTPGetAction httpGet)ProbesetInitialDelaySeconds(int initialDelaySeconds)ProbesetPeriodSeconds(int periodSeconds)ProbesetSuccessThreshold(int successThreshold)ProbesetTcpSocket(TCPSocketAction tcpSocket)ProbesetTerminationGracePeriodSeconds(long terminationGracePeriodSeconds)ProbesetTimeoutSeconds(int timeoutSeconds)
-
-
-
构造器详细资料
-
Probe
public Probe()
The constructor of Probe
-
Probe
public Probe(ExecAction exec, HTTPGetAction httpGet, TCPSocketAction tcpSocket, GRPCAction grpc, int initialDelaySeconds, int timeoutSeconds, int periodSeconds, int successThreshold, int failureThreshold, long terminationGracePeriodSeconds)
The constructor of Probe- 参数:
exec- The exec action of probehttpGet- The http get action of probetcpSocket- The tcp socket action of probegrpc- The grpc action of probeinitialDelaySeconds- The initial delay seconds of probetimeoutSeconds- The timeout seconds of probeperiodSeconds- The period seconds of probesuccessThreshold- The success threshold of probefailureThreshold- The failure threshold of probeterminationGracePeriodSeconds- The termination grace period seconds of probe
-
-
方法详细资料
-
getExec
public ExecAction getExec()
-
setExec
public Probe setExec(ExecAction exec)
-
getHttpGet
public HTTPGetAction getHttpGet()
-
setHttpGet
public Probe setHttpGet(HTTPGetAction httpGet)
-
getTcpSocket
public TCPSocketAction getTcpSocket()
-
setTcpSocket
public Probe setTcpSocket(TCPSocketAction tcpSocket)
-
getGrpc
public GRPCAction getGrpc()
-
setGrpc
public Probe setGrpc(GRPCAction grpc)
-
getInitialDelaySeconds
public int getInitialDelaySeconds()
-
setInitialDelaySeconds
public Probe setInitialDelaySeconds(int initialDelaySeconds)
-
getTimeoutSeconds
public int getTimeoutSeconds()
-
setTimeoutSeconds
public Probe setTimeoutSeconds(int timeoutSeconds)
-
getPeriodSeconds
public int getPeriodSeconds()
-
setPeriodSeconds
public Probe setPeriodSeconds(int periodSeconds)
-
getSuccessThreshold
public int getSuccessThreshold()
-
setSuccessThreshold
public Probe setSuccessThreshold(int successThreshold)
-
getFailureThreshold
public int getFailureThreshold()
-
setFailureThreshold
public Probe setFailureThreshold(int failureThreshold)
-
getTerminationGracePeriodSeconds
public long getTerminationGracePeriodSeconds()
-
setTerminationGracePeriodSeconds
public Probe setTerminationGracePeriodSeconds(long terminationGracePeriodSeconds)
-
-