|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<RequestPartitionResult.ResultState> com.hazelcast.mapreduce.impl.operation.RequestPartitionResult.ResultState
public static enum RequestPartitionResult.ResultState
This enum is used to define the basic state of an operations result
Enum Constant Summary | |
---|---|
CHECK_STATE_FAILED
Operation wasn't executed since the old partition owner is not the requesting member, value of partitionId is undefined (depending on the operation) |
|
NO_MORE_PARTITIONS
Operation was executed but no more partitions seem to be available for mapping, partitionId value is -1 |
|
NO_SUPERVISOR
Operation wasn't executed, because no supervisor could be found for the given name-jobId combination, partitionId is -1 |
|
SUCCESSFUL
Operation was successfully executed, partitionId contains value other than -1 |
Method Summary | |
---|---|
static RequestPartitionResult.ResultState |
byOrdinal(int ordinal)
|
static RequestPartitionResult.ResultState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RequestPartitionResult.ResultState[] |
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 RequestPartitionResult.ResultState SUCCESSFUL
public static final RequestPartitionResult.ResultState NO_SUPERVISOR
public static final RequestPartitionResult.ResultState CHECK_STATE_FAILED
public static final RequestPartitionResult.ResultState NO_MORE_PARTITIONS
Method Detail |
---|
public static RequestPartitionResult.ResultState[] values()
for (RequestPartitionResult.ResultState c : RequestPartitionResult.ResultState.values()) System.out.println(c);
public static RequestPartitionResult.ResultState 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 RequestPartitionResult.ResultState byOrdinal(int ordinal)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |