Stay organized with collections
Save and categorize content based on your preferences.
State
class State
Represents the computation state.
Summary
Enum values |
The task was cancelled.
|
The task completed with an exception.
|
The task has not completed.
|
The task completed with a result.
|
Enum values
CANCELLED
enum val CANCELLED : Future.State
The task was cancelled.
FAILED
enum val FAILED : Future.State
The task completed with an exception.
RUNNING
enum val RUNNING : Future.State
The task has not completed.
SUCCESS
enum val SUCCESS : Future.State
The task completed with a result.
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 2025-03-13 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 2025-03-13 UTC."],[],[]]