public enum GridComputeJobResultPolicy extends Enum<GridComputeJobResultPolicy>
GridComputeTask.result(GridComputeJobResult, 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 GridComputeJobResultPolicy |
fromOrdinal(byte ord)
Efficiently gets enumerated value from its ordinal.
|
static GridComputeJobResultPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GridComputeJobResultPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GridComputeJobResultPolicy WAIT
public static final GridComputeJobResultPolicy REDUCE
public static final GridComputeJobResultPolicy FAILOVER
public static GridComputeJobResultPolicy[] values()
for (GridComputeJobResultPolicy c : GridComputeJobResultPolicy.values()) System.out.println(c);
public static GridComputeJobResultPolicy 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 GridComputeJobResultPolicy fromOrdinal(byte ord)
ord - Ordinal value.Copyright © 2014. All rights reserved.