Package com.linkedin.venice.jobs
Enum Class ComputeJob.Status
- All Implemented Interfaces:
Serializable
,Comparable<ComputeJob.Status>
,Constable
- Enclosing interface:
- ComputeJob
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA job that failed during it's executionA job that has completed execution but failed verificationA job that was killedA job that has not started execution yetA job that is currently executingA job that has completed execution successfully -
Method Summary
Modifier and TypeMethodDescriptionboolean
static ComputeJob.Status
Returns the enum constant of this class with the specified name.static ComputeJob.Status[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_STARTED
A job that has not started execution yet -
RUNNING
A job that is currently executing -
SUCCEEDED
A job that has completed execution successfully -
FAILED
A job that failed during it's execution -
FAILED_VERIFICATION
A job that has completed execution but failed verification -
KILLED
A job that was killed
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
isTerminal
public boolean isTerminal()
-