Statements (56)
Predicate | Object |
---|---|
gptkbp:instance_of |
gptkb:Library
|
gptkbp:bfsLayer |
5
|
gptkbp:bfsParent |
gptkb:Reactive_Streams
|
gptkbp:allows |
of multiple tasks
|
gptkbp:can_be_used_with |
gptkb:railway_line
lambda expressions |
gptkbp:can_create |
run Async method
supply Async method |
gptkbp:controls |
exception handling
|
gptkbp:has_achievements |
manually
|
https://www.w3.org/2000/01/rdf-schema#label |
Java Completable Future
|
gptkbp:introduced |
gptkb:Java_8
|
gptkbp:is_part_of |
java.util.concurrent package
|
gptkbp:is_used_for |
improve code readability
cancel tasks compose multiple futures execute tasks in parallel handle timeouts return a Completable Future that is already completed return a Completable Future that is completed exceptionally create a Completable Future that completes when any of a set of futures complete apply transformations to results check if a task is cancelled check if a task is completed check if a task is exceptionally completed combine futures with a binary operator combine results from multiple futures combine results with a collector create a Completable Future from a Callable create a Completable Future from a Runnable create a Completable Future from a Supplier create a future that completes after a delay create a pipeline of tasks create dependent futures execute tasks in a specific order execute tasks on a different thread execute tasks with a timeout handle results and exceptions implement future chaining implement future composition implement reactive programming patterns return a Completable Future from a method return a value asynchronously simplify callback hell wait for completion of tasks wait for multiple futures to complete create a Completable Future that completes when another completes |
gptkbp:provides |
asynchronous programming capabilities
all Of any Of exceptionally then Accept then Apply then Run combining multiple futures |
gptkbp:supports |
non-blocking operations
|