public static enum DependentTasksExecutor.ExecutionBehavior extends Enum<DependentTasksExecutor.ExecutionBehavior>
TERMINATING : Whole tasks execution would come to an end after the execution is thrown
NON_TERMINATING : Tasks execution wont come to halt after an exception is thrown out of task
RETRY_ONCE_TERMINATING : A retry would be attempted after an exception is thrown, and then if the execption is thrown again, the tasks execution would stop
| Enum Constant and Description |
|---|
NON_TERMINATING |
RETRY_ONCE_TERMINATING |
TERMINATING |
| Modifier and Type | Method and Description |
|---|---|
static DependentTasksExecutor.ExecutionBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DependentTasksExecutor.ExecutionBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DependentTasksExecutor.ExecutionBehavior TERMINATING
public static final DependentTasksExecutor.ExecutionBehavior NON_TERMINATING
public static final DependentTasksExecutor.ExecutionBehavior RETRY_ONCE_TERMINATING
public static DependentTasksExecutor.ExecutionBehavior[] values()
for (DependentTasksExecutor.ExecutionBehavior c : DependentTasksExecutor.ExecutionBehavior.values()) System.out.println(c);
public static DependentTasksExecutor.ExecutionBehavior 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 nullCopyright © 2016 Dexecutor. All rights reserved.