Enum ComputeNodeReimageOption

    • Enum Constant Detail

      • REQUEUE

        public static final ComputeNodeReimageOption REQUEUE
        Terminate running Task processes and requeue the Tasks. The Tasks will run again when a Compute Node is available. Reimage the Compute Node as soon as Tasks have been terminated.
      • TERMINATE

        public static final ComputeNodeReimageOption TERMINATE
        Terminate running Tasks. The Tasks will be completed with failureInfo indicating that they were terminated, and will not run again. Reimage the Compute Node as soon as Tasks have been terminated.
      • TASK_COMPLETION

        public static final ComputeNodeReimageOption TASK_COMPLETION
        Allow currently running Tasks to complete. Schedule no new Tasks while waiting. Reimage the Compute Node when all Tasks have completed.
      • RETAINED_DATA

        public static final ComputeNodeReimageOption RETAINED_DATA
        Allow currently running Tasks to complete, then wait for all Task data retention periods to expire. Schedule no new Tasks while waiting. Reimage the Compute Node when all Task retention periods have expired.
    • Method Detail

      • values

        public static ComputeNodeReimageOption[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ComputeNodeReimageOption c : ComputeNodeReimageOption.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ComputeNodeReimageOption valueOf​(String name)
        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.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • fromString

        public static ComputeNodeReimageOption fromString​(String value)
        Parses a serialized value to a ComputeNodeReimageOption instance.
        Parameters:
        value - the serialized value to parse.
        Returns:
        the parsed ComputeNodeReimageOption object, or null if unable to parse.