GigaSpaces XAP 7.0 API

com.gigaspaces.async
Enum AsyncResultFilter.Decision

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

public static enum AsyncResultFilter.Decision
extends Enum<AsyncResultFilter.Decision>

Controls what should be done with the results.


Enum Constant Summary
BREAK
          Break out of the processing of the distributed task and move to the reduce phase including the current result.
CONTINUE
          Continue processing the distributed task.
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 Summary
static AsyncResultFilter.Decision valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AsyncResultFilter.Decision[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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 Detail

values

public static final AsyncResultFilter.Decision[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(AsyncResultFilter.Decision c : AsyncResultFilter.Decision.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

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

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.