public static interface Protos.HealthCheckOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Protos.CommandInfo |
getCommand ()
Command health check.
|
Protos.CommandInfoOrBuilder |
getCommandOrBuilder ()
Command health check.
|
int |
getConsecutiveFailures ()
Number of consecutive failures until the task is killed by the executor.
|
double |
getDelaySeconds ()
Amount of time to wait to start health checking the task after it
transitions to `TASK_RUNNING` or `TASK_STATING` if the latter is
used by the executor.
|
double |
getGracePeriodSeconds ()
Amount of time after the task is launched during which health check
failures are ignored.
|
Protos.HealthCheck.HTTPCheckInfo |
getHttp ()
HTTP health check.
|
Protos.HealthCheck.HTTPCheckInfoOrBuilder |
getHttpOrBuilder ()
HTTP health check.
|
double |
getIntervalSeconds ()
Interval between health checks, i.e., amount of time to wait after
the previous health check finished or timed out to start the next
health check.
|
Protos.HealthCheck.TCPCheckInfo |
getTcp ()
TCP health check.
|
Protos.HealthCheck.TCPCheckInfoOrBuilder |
getTcpOrBuilder ()
TCP health check.
|
double |
getTimeoutSeconds ()
Amount of time to wait for the health check to complete.
|
Protos.HealthCheck.Type |
getType ()
The type of health check.
|
boolean |
hasCommand ()
Command health check.
|
boolean |
hasConsecutiveFailures ()
Number of consecutive failures until the task is killed by the executor.
|
boolean |
hasDelaySeconds ()
Amount of time to wait to start health checking the task after it
transitions to `TASK_RUNNING` or `TASK_STATING` if the latter is
used by the executor.
|
boolean |
hasGracePeriodSeconds ()
Amount of time after the task is launched during which health check
failures are ignored.
|
boolean |
hasHttp ()
HTTP health check.
|
boolean |
hasIntervalSeconds ()
Interval between health checks, i.e., amount of time to wait after
the previous health check finished or timed out to start the next
health check.
|
boolean |
hasTcp ()
TCP health check.
|
boolean |
hasTimeoutSeconds ()
Amount of time to wait for the health check to complete.
|
boolean |
hasType ()
The type of health check.
|
boolean hasDelaySeconds()
Amount of time to wait to start health checking the task after it transitions to `TASK_RUNNING` or `TASK_STATING` if the latter is used by the executor.
optional double delay_seconds = 2 [default = 15];double getDelaySeconds()
Amount of time to wait to start health checking the task after it transitions to `TASK_RUNNING` or `TASK_STATING` if the latter is used by the executor.
optional double delay_seconds = 2 [default = 15];boolean hasIntervalSeconds()
Interval between health checks, i.e., amount of time to wait after the previous health check finished or timed out to start the next health check.
optional double interval_seconds = 3 [default = 10];double getIntervalSeconds()
Interval between health checks, i.e., amount of time to wait after the previous health check finished or timed out to start the next health check.
optional double interval_seconds = 3 [default = 10];boolean hasTimeoutSeconds()
Amount of time to wait for the health check to complete. After this timeout, the health check is aborted and treated as a failure. Zero means infinite timeout.
optional double timeout_seconds = 4 [default = 20];double getTimeoutSeconds()
Amount of time to wait for the health check to complete. After this timeout, the health check is aborted and treated as a failure. Zero means infinite timeout.
optional double timeout_seconds = 4 [default = 20];boolean hasConsecutiveFailures()
Number of consecutive failures until the task is killed by the executor.
optional uint32 consecutive_failures = 5 [default = 3];int getConsecutiveFailures()
Number of consecutive failures until the task is killed by the executor.
optional uint32 consecutive_failures = 5 [default = 3];boolean hasGracePeriodSeconds()
Amount of time after the task is launched during which health check failures are ignored. Once a check succeeds for the first time, the grace period does not apply anymore. Note that it includes `delay_seconds`, i.e., setting `grace_period_seconds` < `delay_seconds` has no effect.
optional double grace_period_seconds = 6 [default = 10];double getGracePeriodSeconds()
Amount of time after the task is launched during which health check failures are ignored. Once a check succeeds for the first time, the grace period does not apply anymore. Note that it includes `delay_seconds`, i.e., setting `grace_period_seconds` < `delay_seconds` has no effect.
optional double grace_period_seconds = 6 [default = 10];boolean hasType()
The type of health check.
optional .mesos.HealthCheck.Type type = 8;Protos.HealthCheck.Type getType()
The type of health check.
optional .mesos.HealthCheck.Type type = 8;boolean hasCommand()
Command health check.
optional .mesos.CommandInfo command = 7;Protos.CommandInfo getCommand()
Command health check.
optional .mesos.CommandInfo command = 7;Protos.CommandInfoOrBuilder getCommandOrBuilder()
Command health check.
optional .mesos.CommandInfo command = 7;boolean hasHttp()
HTTP health check.
optional .mesos.HealthCheck.HTTPCheckInfo http = 1;Protos.HealthCheck.HTTPCheckInfo getHttp()
HTTP health check.
optional .mesos.HealthCheck.HTTPCheckInfo http = 1;Protos.HealthCheck.HTTPCheckInfoOrBuilder getHttpOrBuilder()
HTTP health check.
optional .mesos.HealthCheck.HTTPCheckInfo http = 1;boolean hasTcp()
TCP health check.
optional .mesos.HealthCheck.TCPCheckInfo tcp = 9;Protos.HealthCheck.TCPCheckInfo getTcp()
TCP health check.
optional .mesos.HealthCheck.TCPCheckInfo tcp = 9;Protos.HealthCheck.TCPCheckInfoOrBuilder getTcpOrBuilder()
TCP health check.
optional .mesos.HealthCheck.TCPCheckInfo tcp = 9;