public static enum IoFuture.Status extends Enum<IoFuture.Status>
Enum Constant and Description |
---|
CANCELLED
The operation was cancelled.
|
DONE
The operation has completed successfully.
|
FAILED
The operation did not succeed.
|
WAITING
The operation is still in progress.
|
Modifier and Type | Method and Description |
---|---|
static IoFuture.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IoFuture.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IoFuture.Status WAITING
public static final IoFuture.Status DONE
public static final IoFuture.Status CANCELLED
public static final IoFuture.Status FAILED
public static IoFuture.Status[] values()
for (IoFuture.Status c : IoFuture.Status.values()) System.out.println(c);
public static IoFuture.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 © 2020 JBoss by Red Hat. All rights reserved.