com.hazelcast.mapreduce.impl.operation
public static enum RequestPartitionResult.ResultState extends Enum<RequestPartitionResult.ResultState>
Enum Constant and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
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 nameNullPointerException
- if the argument is nullpublic static RequestPartitionResult.ResultState byOrdinal(int ordinal)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.