public static enum AsyncFuture.Status extends Enum<AsyncFuture.Status>
AsyncFuture
.Enum Constant and Description |
---|
CANCELLED
The operation was cancelled before it completed.
|
COMPLETE
The operation has completed successfully.
|
FAILED
The operation has failed with some exception.
|
WAITING
The operation is still in progress.
|
Modifier and Type | Method and Description |
---|---|
static AsyncFuture.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AsyncFuture.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AsyncFuture.Status WAITING
public static final AsyncFuture.Status COMPLETE
public static final AsyncFuture.Status CANCELLED
public static final AsyncFuture.Status FAILED
public static AsyncFuture.Status[] values()
for (AsyncFuture.Status c : AsyncFuture.Status.values()) System.out.println(c);
public static AsyncFuture.Status valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2012 JBoss by Red Hat. All Rights Reserved.