ComputeNodeRebootOption 枚举

定义

Defines values for ComputeNodeRebootOption.

public enum ComputeNodeRebootOption
继承
java.lang.Object
java.lang.Enum<ComputeNodeRebootOption>
ComputeNodeRebootOption

字段

REQUEUE

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

RETAINED_DATA

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

TASK_COMPLETION

Allow currently running tasks to complete. Schedule no new tasks while waiting. Restart the node when all tasks have completed.

TERMINATE

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

方法

fromString(String value)

Parses a serialized value to a ComputeNodeRebootOption instance.

public static ComputeNodeRebootOption fromString(String value)

参数

value
String

the serialized value to parse.

返回

the parsed ComputeNodeRebootOption object, or null if unable to parse.

toString()

public String toString()

参数

value
String

the serialized value to parse.

返回

String

适用于