Package com.linkedin.venice.jobs
Enum ComputeJob.Status
- java.lang.Object
-
- java.lang.Enum<ComputeJob.Status>
-
- com.linkedin.venice.jobs.ComputeJob.Status
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ComputeJob.Status>
- Enclosing interface:
- ComputeJob
public static enum ComputeJob.Status extends java.lang.Enum<ComputeJob.Status>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAILED
A job that failed during it's executionFAILED_VERIFICATION
A job that has completed execution but failed verificationKILLED
A job that was killedNOT_STARTED
A job that has not started execution yetRUNNING
A job that is currently executingSUCCEEDED
A job that has completed execution successfully
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isTerminal()
static ComputeJob.Status
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ComputeJob.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_STARTED
public static final ComputeJob.Status NOT_STARTED
A job that has not started execution yet
-
RUNNING
public static final ComputeJob.Status RUNNING
A job that is currently executing
-
SUCCEEDED
public static final ComputeJob.Status SUCCEEDED
A job that has completed execution successfully
-
FAILED
public static final ComputeJob.Status FAILED
A job that failed during it's execution
-
FAILED_VERIFICATION
public static final ComputeJob.Status FAILED_VERIFICATION
A job that has completed execution but failed verification
-
KILLED
public static final ComputeJob.Status KILLED
A job that was killed
-
-
Method Detail
-
values
public static ComputeJob.Status[] 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 (ComputeJob.Status c : ComputeJob.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ComputeJob.Status valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
isTerminal
public boolean isTerminal()
-
-