public enum JobStatus extends Enum<JobStatus>
Enum Constant and Description |
---|
COMPLETED
The job has completed successfully.
|
COMPLETING
The job is currently being completed.
|
FAILED
The job has failed with an exception.
|
NOT_RUNNING
The job is submitted but hasn't started yet.
|
RUNNING
The job is currently running.
|
STARTING
The job is in the initialization phase on a new coordinator.
|
SUSPENDED
The job is suspended and it can be manually resumed.
|
Modifier and Type | Method and Description |
---|---|
static JobStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobStatus NOT_RUNNING
public static final JobStatus STARTING
public static final JobStatus RUNNING
public static final JobStatus SUSPENDED
public static final JobStatus COMPLETING
public static final JobStatus FAILED
public static final JobStatus COMPLETED
public static JobStatus[] values()
for (JobStatus c : JobStatus.values()) System.out.println(c);
public static JobStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018 Hazelcast, Inc.. All rights reserved.