public enum JobStatus extends Enum<JobStatus>
| Enum Constant and Description |
|---|
COMPLETED
The job is completed successfully.
|
COMPLETING
The job is currently being completed.
|
FAILED
The job is failed with an exception.
|
NOT_STARTED
The job is submitted but not started yet.
|
RESTARTING
The job is performing a restart by the same coordinator, because a job
participant has left while the job was running.
|
RUNNING
The job is currently running.
|
STARTING
The job is in the initialization phase on new coordinator, in which it
starts the execution.
|
| 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_STARTED
public static final JobStatus STARTING
public static final JobStatus RUNNING
public static final JobStatus RESTARTING
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.