public static enum Parallel.Orchestrator extends java.lang.Enum<Parallel.Orchestrator>
Parallel task| Enum Constant and Description |
|---|
Join
Children execute until they succeed or fail but will not re-run until the parallel task has succeeded or failed
|
Resume
The default orchestrator - starts or resumes all children every single step
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
execute(Parallel<?> parallel)
Called by parallel task each run
|
static Parallel.Orchestrator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Parallel.Orchestrator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Parallel.Orchestrator Resume
public static final Parallel.Orchestrator Join
public static Parallel.Orchestrator[] values()
for (Parallel.Orchestrator c : Parallel.Orchestrator.values()) System.out.println(c);
public static Parallel.Orchestrator valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null