November 2017
Intermediate to advanced
398 pages
10h 14m
English
The java.util.concurrent.CompletableFuture<T> class was first introduced in Java 8. It is the next level of asynchronous call control over java.util.concurrent.Future<T> interface. It actually implements Future, as well as java.util.concurrent.CompletionStage<T>. In Java 9, CompletableFuture was enhanced by adding new factory methods, support for delays and timeouts, and improved subclassing--we will discuss these features in more details in the sections to follow. But first, let's have an overview of the CompletableFuture API.
Read now
Unlock full access