public enum ExecutionBehavior extends Enum<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 |
|---|
IMMEDIATE_RETRY_TERMINATING |
NON_TERMINATING |
SCHEDULED_RETRY_TERMINATING |
TERMINATING |
| Modifier and Type | Method and Description |
|---|---|
static ExecutionBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecutionBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecutionBehavior TERMINATING
public static final ExecutionBehavior NON_TERMINATING
public static final ExecutionBehavior IMMEDIATE_RETRY_TERMINATING
public static final ExecutionBehavior SCHEDULED_RETRY_TERMINATING
public static ExecutionBehavior[] values()
for (ExecutionBehavior c : ExecutionBehavior.values()) System.out.println(c);
public static 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.