public enum ComputeJobResultPolicy extends Enum<ComputeJobResultPolicy>
ComputeTask.result(ComputeJobResult, List) for
more details.| Enum Constant and Description |
|---|
FAILOVER
Fail-over job to execute on another node.
|
REDUCE
Ignore all not yet received results and start reducing results.
|
WAIT
Wait for results if any are still expected.
|
| Modifier and Type | Method and Description |
|---|---|
static ComputeJobResultPolicy |
fromOrdinal(byte ord)
Efficiently gets enumerated value from its ordinal.
|
static ComputeJobResultPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComputeJobResultPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComputeJobResultPolicy WAIT
public static final ComputeJobResultPolicy REDUCE
public static final ComputeJobResultPolicy FAILOVER
public static ComputeJobResultPolicy[] values()
for (ComputeJobResultPolicy c : ComputeJobResultPolicy.values()) System.out.println(c);
public static ComputeJobResultPolicy 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 null@Nullable public static ComputeJobResultPolicy fromOrdinal(byte ord)
ord - Ordinal value.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.5.11 Release Date : April 8 2016