public static enum JobPartitionState.State extends Enum<JobPartitionState.State>
Enum Constant and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
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 nameNullPointerException
- if the argument is nullpublic static JobPartitionState.State byOrdinal(int ordinal)
ordinal
- ordinal to search forCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.