ComputeNodeDeallocationOption

enum ComputeNodeDeallocationOption : Enum<ComputeNodeDeallocationOption> , ConvertibleToJava<ComputeNodeDeallocationOption>

If omitted, the default value is Requeue.

Entries

Link copied to clipboard

Terminate running task processes and requeue the tasks. The tasks will run again when a node is available. Remove nodes as soon as tasks have been terminated.

Link copied to clipboard

Terminate running tasks. The tasks will be completed with failureInfo indicating that they were terminated, and will not run again. Remove nodes as soon as tasks have been terminated.

Link copied to clipboard

Allow currently running tasks to complete. Schedule no new tasks while waiting. Remove nodes when all tasks have completed.

Link copied to clipboard

Allow currently running tasks to complete, then wait for all task data retention periods to expire. Schedule no new tasks while waiting. Remove nodes when all task retention periods have expired.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
val javaValue: ComputeNodeDeallocationOption
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toJava(): ComputeNodeDeallocationOption
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.