Introduction to CompletableFuture in Java 8

Описание к видео Introduction to CompletableFuture in Java 8

Learn about what comes next after ExecutorService. How JavaScript promises compare to similar data-structure of CompletableFuture in Java.

CompletableFuture, introduced in Java 8, is a tool for performing possible asynchronous computations and triggering its dependant computations.

This is very similar to JavaScript Promises where series of callbacks are used to perform operations.

For smaller algorithms or flows CompletableFuture is a perfect option. Though, if this becomes complicated, RxJava is an better alternative which provides same benefits as CompletableFuture but is more feature rich and its resultant code is more readable.

Channel
----------------------------------
Complex concepts explained in short & simple manner. Topics include Java Concurrency, Spring Boot, Microservices, Distributed Systems etc. Feel free to ask any doubts in the comments. Also happy to take requests for new videos.

Subscribe or explore the channel -    / defogtech  

New video added every weekend.

Popular Videos
----------------------------------
What is an API Gateway -    • What is an API Gateway?  
Executor Service -    • Java ExecutorService - Part 1 - Intro...  
Introduction to CompletableFuture -    • Introduction to CompletableFuture in ...  
Java Memory Model in 10 minutes -    • Java Memory Model in 10 minutes  
Volatile vs Atomic -    • Using volatile vs AtomicInteger in Ja...  
What is Spring Webflux -    • What is Spring Webflux and when to us...  
Java Concurrency Interview question -    • Java Concurrency Interview Question: ...  

Комментарии

Информация по комментариям в разработке