public static enum AsyncService.BlockingAction extends java.lang.Enum<AsyncService.BlockingAction>
AsyncService.getAny(BlockingAction).| Enum Constant and Description |
|---|
NOSUSPEND
AsyncService.getAny(BlockingAction) will not block the thread. |
SUSPEND
Normal operation:
AsyncService.getAny(BlockingAction) will block the thread
until a child task returns. |
| Modifier and Type | Method and Description |
|---|---|
static AsyncService.BlockingAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AsyncService.BlockingAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AsyncService.BlockingAction SUSPEND
AsyncService.getAny(BlockingAction) will block the thread
until a child task returns.public static final AsyncService.BlockingAction NOSUSPEND
AsyncService.getAny(BlockingAction) will not block the thread.public static AsyncService.BlockingAction[] values()
for (AsyncService.BlockingAction c : AsyncService.BlockingAction.values()) System.out.println(c);
public static AsyncService.BlockingAction valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is null