|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<JobPartitionState.State> com.hazelcast.mapreduce.JobPartitionState.State
public static enum JobPartitionState.State
Definition of the processing states
Enum Constant Summary | |
---|---|
CANCELLED
Partition calculation cancelled due to an internal exception |
|
MAPPING
Partition is in mapping phase |
|
PROCESSED
Partition is fully processed |
|
REDUCING
Partition is in reducing phase (mapping may still not finished when this state is reached since there is a chunked based operation underlying) |
|
WAITING
Partition waits for being calculated |
Method Summary | |
---|---|
static JobPartitionState.State |
byOrdinal(int ordinal)
Returns an processing state by its given ordinal |
static JobPartitionState.State |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static JobPartitionState.State[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final JobPartitionState.State WAITING
public static final JobPartitionState.State MAPPING
public static final JobPartitionState.State REDUCING
public static final JobPartitionState.State PROCESSED
public static final JobPartitionState.State CANCELLED
Method Detail |
---|
public static JobPartitionState.State[] values()
for (JobPartitionState.State c : JobPartitionState.State.values()) System.out.println(c);
public static JobPartitionState.State valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static JobPartitionState.State byOrdinal(int ordinal)
ordinal
- ordinal to search for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |