Package com.gigaspaces.async
Enum Class AsyncResultFilter.Decision
- All Implemented Interfaces:
Serializable,Comparable<AsyncResultFilter.Decision>,java.lang.constant.Constable
- Enclosing interface:
- AsyncResultFilter<T>
Controls what should be done with the results.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBreak out of the processing of the distributed task and move to the reduce phase including the current result.Continue processing the distributed task.Skip this result and continue processing the rest of the results.Skip this result and breaks out of the processing of the distributed task and move to the reduce phase. -
Method Summary
Modifier and TypeMethodDescriptionstatic AsyncResultFilter.DecisionReturns the enum constant of this class with the specified name.static AsyncResultFilter.Decision[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONTINUE
Continue processing the distributed task. -
BREAK
Break out of the processing of the distributed task and move to the reduce phase including the current result. -
SKIP
Skip this result and continue processing the rest of the results. -
SKIP_AND_BREAK
Skip this result and breaks out of the processing of the distributed task and move to the reduce phase.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-