Future.State
public
static
final
enum
Future.State
extends Enum<Future.State>
java.lang.Object | ||
↳ | java.lang.Enum<java.util.concurrent.Future.State> | |
↳ | java.util.concurrent.Future.State |
Represents the computation state.
Summary
Enum values | |
---|---|
Future.State |
CANCELLED
The task was cancelled. |
Future.State |
FAILED
The task completed with an exception. |
Future.State |
RUNNING
The task has not completed. |
Future.State |
SUCCESS
The task completed with a result. |
Public methods | |
---|---|
static
Future.State
|
valueOf(String name)
|
static
final
State[]
|
values()
|
Inherited methods | |
---|---|
Enum values
Public methods
valueOf
public static Future.State valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
Future.State |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-12-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-18 UTC."],[],[]]