public class Probe extends Object
| Constructor and Description |
|---|
Probe()
The constructor of Probe
|
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
|
| Modifier and Type | Method and Description |
|---|---|
ExecAction |
getExec() |
int |
getFailureThreshold() |
GRPCAction |
getGrpc() |
HTTPGetAction |
getHttpGet() |
int |
getInitialDelaySeconds() |
int |
getPeriodSeconds() |
int |
getSuccessThreshold() |
TCPSocketAction |
getTcpSocket() |
long |
getTerminationGracePeriodSeconds() |
int |
getTimeoutSeconds() |
Probe |
setExec(ExecAction exec) |
Probe |
setFailureThreshold(int failureThreshold) |
Probe |
setGrpc(GRPCAction grpc) |
Probe |
setHttpGet(HTTPGetAction httpGet) |
Probe |
setInitialDelaySeconds(int initialDelaySeconds) |
Probe |
setPeriodSeconds(int periodSeconds) |
Probe |
setSuccessThreshold(int successThreshold) |
Probe |
setTcpSocket(TCPSocketAction tcpSocket) |
Probe |
setTerminationGracePeriodSeconds(long terminationGracePeriodSeconds) |
Probe |
setTimeoutSeconds(int timeoutSeconds) |
public Probe()
public Probe(ExecAction exec, HTTPGetAction httpGet, TCPSocketAction tcpSocket, GRPCAction grpc, int initialDelaySeconds, int timeoutSeconds, int periodSeconds, int successThreshold, int failureThreshold, long terminationGracePeriodSeconds)
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 probepublic ExecAction getExec()
public Probe setExec(ExecAction exec)
public HTTPGetAction getHttpGet()
public Probe setHttpGet(HTTPGetAction httpGet)
public TCPSocketAction getTcpSocket()
public Probe setTcpSocket(TCPSocketAction tcpSocket)
public GRPCAction getGrpc()
public Probe setGrpc(GRPCAction grpc)
public int getInitialDelaySeconds()
public Probe setInitialDelaySeconds(int initialDelaySeconds)
public int getTimeoutSeconds()
public Probe setTimeoutSeconds(int timeoutSeconds)
public int getPeriodSeconds()
public Probe setPeriodSeconds(int periodSeconds)
public int getSuccessThreshold()
public Probe setSuccessThreshold(int successThreshold)
public int getFailureThreshold()
public Probe setFailureThreshold(int failureThreshold)
public long getTerminationGracePeriodSeconds()
public Probe setTerminationGracePeriodSeconds(long terminationGracePeriodSeconds)
Copyright © 2024. All rights reserved.