Enum Class JobStatus

java.lang.Object
java.lang.Enum<JobStatus>
org.apache.ignite.compute.JobStatus
All Implemented Interfaces:
Serializable, Comparable<JobStatus>, Constable

public enum JobStatus extends Enum<JobStatus>
Compute job's status.
  • Enum Constant Details

    • QUEUED

      public static final JobStatus QUEUED
      The job is submitted and waiting for an execution start.
    • EXECUTING

      public static final JobStatus EXECUTING
      The job is being executed.
    • FAILED

      public static final JobStatus FAILED
      The job was unexpectedly terminated during execution.
    • COMPLETED

      public static final JobStatus COMPLETED
      The job was executed successfully and the execution result was returned.
    • CANCELING

      public static final JobStatus CANCELING
      The job has received the cancel command, but it is still running.
    • CANCELED

      public static final JobStatus CANCELED
      The job was successfully cancelled.
  • Method Details

    • values

      public static JobStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static JobStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null