public static interface Protos.KillPolicyOrBuilder
Modifier and Type | Method and Description |
---|---|
Protos.DurationInfo |
getGracePeriod()
The grace period specifies how long to wait before forcibly
killing the task.
|
Protos.DurationInfoOrBuilder |
getGracePeriodOrBuilder()
The grace period specifies how long to wait before forcibly
killing the task.
|
boolean |
hasGracePeriod()
The grace period specifies how long to wait before forcibly
killing the task.
|
boolean hasGracePeriod()
The grace period specifies how long to wait before forcibly killing the task. It is recommended to attempt to gracefully kill the task (and send TASK_KILLING) to indicate that the graceful kill is in progress. Once the grace period elapses, if the task has not terminated, a forcible kill should occur. The task should not assume that it will always be allotted the full grace period. For example, the executor may be shutdown more quickly by the agent, or failures / forcible terminations may occur.
optional .mesos.DurationInfo grace_period = 1;
Protos.DurationInfo getGracePeriod()
The grace period specifies how long to wait before forcibly killing the task. It is recommended to attempt to gracefully kill the task (and send TASK_KILLING) to indicate that the graceful kill is in progress. Once the grace period elapses, if the task has not terminated, a forcible kill should occur. The task should not assume that it will always be allotted the full grace period. For example, the executor may be shutdown more quickly by the agent, or failures / forcible terminations may occur.
optional .mesos.DurationInfo grace_period = 1;
Protos.DurationInfoOrBuilder getGracePeriodOrBuilder()
The grace period specifies how long to wait before forcibly killing the task. It is recommended to attempt to gracefully kill the task (and send TASK_KILLING) to indicate that the graceful kill is in progress. Once the grace period elapses, if the task has not terminated, a forcible kill should occur. The task should not assume that it will always be allotted the full grace period. For example, the executor may be shutdown more quickly by the agent, or failures / forcible terminations may occur.
optional .mesos.DurationInfo grace_period = 1;