Enum Class JobHandle.Status

java.lang.Object
java.lang.Enum<JobHandle.Status>
org.apache.gravitino.job.JobHandle.Status
All Implemented Interfaces:
Serializable, Comparable<JobHandle.Status>, Constable
Enclosing interface:
JobHandle

public static enum JobHandle.Status extends Enum<JobHandle.Status>
The status of the job.
  • Enum Constant Details

    • QUEUED

      public static final JobHandle.Status QUEUED
      The job is in the queue and waiting to be executed.
    • STARTED

      public static final JobHandle.Status STARTED
      The job is currently being executed.
    • FAILED

      public static final JobHandle.Status FAILED
      The job has failed during execution.
    • SUCCEEDED

      public static final JobHandle.Status SUCCEEDED
      The job has completed successfully.
    • CANCELLING

      public static final JobHandle.Status CANCELLING
      The job is being cancelled.
    • CANCELLED

      public static final JobHandle.Status CANCELLED
      The job has been cancelled.
  • Method Details

    • values

      public static JobHandle.Status[] 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 JobHandle.Status 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