Enum ExecutionStrategy.EvaluationRationale
- java.lang.Object
-
- java.lang.Enum<ExecutionStrategy.EvaluationRationale>
-
- com.oracle.coherence.concurrent.executor.ExecutionStrategy.EvaluationRationale
-
- All Implemented Interfaces:
Serializable,Comparable<ExecutionStrategy.EvaluationRationale>
- Enclosing interface:
- ExecutionStrategy
public static enum ExecutionStrategy.EvaluationRationale extends Enum<ExecutionStrategy.EvaluationRationale>
A rationale for evaluating anExecutionStrategy.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXECUTOR_SERVICES_CHANGEDThe availableExecutors have changed.TASK_CREATEDATaskwas created and submitted for orchestration.TASK_RECOVEREDATaskwas recovered.TASK_RESULT_PROVIDEDAResultwas provided or updated.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExecutionStrategy.EvaluationRationalevalueOf(String name)Returns the enum constant of this type with the specified name.static ExecutionStrategy.EvaluationRationale[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TASK_CREATED
public static final ExecutionStrategy.EvaluationRationale TASK_CREATED
ATaskwas created and submitted for orchestration.
-
TASK_RECOVERED
public static final ExecutionStrategy.EvaluationRationale TASK_RECOVERED
ATaskwas recovered.
-
TASK_RESULT_PROVIDED
public static final ExecutionStrategy.EvaluationRationale TASK_RESULT_PROVIDED
AResultwas provided or updated.
-
EXECUTOR_SERVICES_CHANGED
public static final ExecutionStrategy.EvaluationRationale EXECUTOR_SERVICES_CHANGED
The availableExecutors have changed.
-
-
Method Detail
-
values
public static ExecutionStrategy.EvaluationRationale[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ExecutionStrategy.EvaluationRationale c : ExecutionStrategy.EvaluationRationale.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExecutionStrategy.EvaluationRationale valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-