public static interface Protos.KillPolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Protos.DurationInfo |
getGracePeriod()
optional .mesos.v1.DurationInfo grace_period = 1; |
Protos.DurationInfoOrBuilder |
getGracePeriodOrBuilder()
optional .mesos.v1.DurationInfo grace_period = 1; |
boolean |
hasGracePeriod()
optional .mesos.v1.DurationInfo grace_period = 1; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasGracePeriod()
optional .mesos.v1.DurationInfo grace_period = 1;
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.
Protos.DurationInfo getGracePeriod()
optional .mesos.v1.DurationInfo grace_period = 1;
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.
Protos.DurationInfoOrBuilder getGracePeriodOrBuilder()
optional .mesos.v1.DurationInfo grace_period = 1;
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.
Copyright © 2017 The Apache Software Foundation. All Rights Reserved.