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 @Nullable 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 @Nullable ComputeJobResultPolicy fromOrdinal(byte ord)
ord
- Ordinal value.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023