public static interface Protos.CheckInfoOrBuilder
Modifier and Type | Method and Description |
---|---|
Protos.CheckInfo.Command |
getCommand()
Command check.
|
Protos.CheckInfo.CommandOrBuilder |
getCommandOrBuilder()
Command check.
|
double |
getDelaySeconds()
Amount of time to wait to start checking the task after it
transitions to `TASK_RUNNING` or `TASK_STARTING` if the latter
is used by the executor.
|
Protos.CheckInfo.Http |
getHttp()
HTTP check.
|
Protos.CheckInfo.HttpOrBuilder |
getHttpOrBuilder()
HTTP check.
|
double |
getIntervalSeconds()
Interval between check attempts, i.e., amount of time to wait after
the previous check finished or timed out to start the next check.
|
Protos.CheckInfo.Tcp |
getTcp()
TCP check.
|
Protos.CheckInfo.TcpOrBuilder |
getTcpOrBuilder()
TCP check.
|
double |
getTimeoutSeconds()
Amount of time to wait for the check to complete.
|
Protos.CheckInfo.Type |
getType()
The type of the check.
|
boolean |
hasCommand()
Command check.
|
boolean |
hasDelaySeconds()
Amount of time to wait to start checking the task after it
transitions to `TASK_RUNNING` or `TASK_STARTING` if the latter
is used by the executor.
|
boolean |
hasHttp()
HTTP check.
|
boolean |
hasIntervalSeconds()
Interval between check attempts, i.e., amount of time to wait after
the previous check finished or timed out to start the next check.
|
boolean |
hasTcp()
TCP check.
|
boolean |
hasTimeoutSeconds()
Amount of time to wait for the check to complete.
|
boolean |
hasType()
The type of the check.
|
boolean hasType()
The type of the check.
optional .mesos.CheckInfo.Type type = 1;
Protos.CheckInfo.Type getType()
The type of the check.
optional .mesos.CheckInfo.Type type = 1;
boolean hasCommand()
Command check.
optional .mesos.CheckInfo.Command command = 2;
Protos.CheckInfo.Command getCommand()
Command check.
optional .mesos.CheckInfo.Command command = 2;
Protos.CheckInfo.CommandOrBuilder getCommandOrBuilder()
Command check.
optional .mesos.CheckInfo.Command command = 2;
boolean hasHttp()
HTTP check.
optional .mesos.CheckInfo.Http http = 3;
Protos.CheckInfo.Http getHttp()
HTTP check.
optional .mesos.CheckInfo.Http http = 3;
Protos.CheckInfo.HttpOrBuilder getHttpOrBuilder()
HTTP check.
optional .mesos.CheckInfo.Http http = 3;
boolean hasTcp()
TCP check.
optional .mesos.CheckInfo.Tcp tcp = 7;
Protos.CheckInfo.Tcp getTcp()
TCP check.
optional .mesos.CheckInfo.Tcp tcp = 7;
Protos.CheckInfo.TcpOrBuilder getTcpOrBuilder()
TCP check.
optional .mesos.CheckInfo.Tcp tcp = 7;
boolean hasDelaySeconds()
Amount of time to wait to start checking the task after it transitions to `TASK_RUNNING` or `TASK_STARTING` if the latter is used by the executor.
optional double delay_seconds = 4 [default = 15];
double getDelaySeconds()
Amount of time to wait to start checking the task after it transitions to `TASK_RUNNING` or `TASK_STARTING` if the latter is used by the executor.
optional double delay_seconds = 4 [default = 15];
boolean hasIntervalSeconds()
Interval between check attempts, i.e., amount of time to wait after the previous check finished or timed out to start the next check.
optional double interval_seconds = 5 [default = 10];
double getIntervalSeconds()
Interval between check attempts, i.e., amount of time to wait after the previous check finished or timed out to start the next check.
optional double interval_seconds = 5 [default = 10];
boolean hasTimeoutSeconds()
Amount of time to wait for the check to complete. Zero means infinite timeout. After this timeout, the check attempt is aborted and no result is reported. Note that this may be considered a state change and hence may trigger a check status change delivery to the corresponding scheduler. See `CheckStatusInfo` for more details.
optional double timeout_seconds = 6 [default = 20];
double getTimeoutSeconds()
Amount of time to wait for the check to complete. Zero means infinite timeout. After this timeout, the check attempt is aborted and no result is reported. Note that this may be considered a state change and hence may trigger a check status change delivery to the corresponding scheduler. See `CheckStatusInfo` for more details.
optional double timeout_seconds = 6 [default = 20];