Discord Community: / discord
GitHub Repository: https://github.com/geekific-official/
Java’s Future API was introduced in Java 5, and a Future is used as a reference to the result of an asynchronous computation. We previously explained and gave a lot of examples related to multi-threaded operations in Java, and in this video we further expand on this topic by tackling Completable Futures which were introduced in Java 8 and their main purpose was to handle the limitations of the Future class.
Timestamps:
00:00 Introduction
00:07 What are Completable Futures?
01:00 What are Future Limitations? Why Completable Futures?
02:49 Creating a Completable Future
03:54 Acting on a Completable Future
05:55 Combining Completable Futures
08:11 Exception Handling
09:21 Thanks for Watching!
If you found this video helpful, check other Geekific uploads:
- Object-Oriented Programming Fundamentals: • What is Object-Oriented Programming? ...
- SOLID Principles and Best Practices: • SOLID Design Principles with Java Exa...
- Recursion Made Simple, Recursive Methods: • What is Recursion? | Recursion Made S...
- Use-Case and Sequence Diagrams: • UML Use-Case and Sequence Diagrams Ma...
- What is a Thread? (Process, Program, Parallelism, Scheduler Explained): • What is a Thread? | Threads, Process,...
- The Volatile and Synchronized Keywords in Java, Atomic Variables in Java: • The Volatile and Synchronized Keyword...
- Creating Threads and Executing Tasks in Java (Thread, Runnable, Callable, Future, ExecutorService): • Creating Threads and Executing Tasks ...
- Locks, Monitors and Semaphores Explained in Java, Optimistic Locking: • Locks, Monitors and Semaphores Explai...
#Geekific #CompletableFuture #Java #Multithreading
Watch video A Guide To CompletableFuture in Java with Examples | Asynchronous Operations in Java | Geekific online without registration, duration hours minute second in high quality. This video was added by user Geekific 01 October 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 29,862 once and liked it 747 people.