Enum Class AsyncResultFilter.Decision

java.lang.Object
java.lang.Enum<AsyncResultFilter.Decision>
com.gigaspaces.async.AsyncResultFilter.Decision
All Implemented Interfaces:
Serializable, Comparable<AsyncResultFilter.Decision>, java.lang.constant.Constable
Enclosing interface:
AsyncResultFilter<T>

public static enum AsyncResultFilter.Decision extends Enum<AsyncResultFilter.Decision>
Controls what should be done with the results.
  • Enum Constant Details

    • CONTINUE

      public static final AsyncResultFilter.Decision CONTINUE
      Continue processing the distributed task.
    • BREAK

      public static final AsyncResultFilter.Decision BREAK
      Break out of the processing of the distributed task and move to the reduce phase including the current result.
    • SKIP

      public static final AsyncResultFilter.Decision SKIP
      Skip this result and continue processing the rest of the results.
    • SKIP_AND_BREAK

      public static final AsyncResultFilter.Decision 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

      public static AsyncResultFilter.Decision[] 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

      public static AsyncResultFilter.Decision valueOf(String name)
      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 name
      NullPointerException - if the argument is null