Support us on Patreon: / geekific
GitHub Repository: github.com/geekific-official/...
Stay updated on our videos by subscribing to the channel and hitting the like button!
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-Oriente...
- SOLID Principles and Best Practices: • SOLID Design Principle...
- Recursion Made Simple, Recursive Methods: • What is Recursion? | R...
- Use-Case and Sequence Diagrams: • UML Use-Case and Seque...
- What is a Thread? (Process, Program, Parallelism, Scheduler Explained): • What is a Thread? | Th...
- The Volatile and Synchronized Keywords in Java, Atomic Variables in Java: • The Volatile and Synch...
- Creating Threads and Executing Tasks in Java (Thread, Runnable, Callable, Future, ExecutorService): • Creating Threads and E...
- Locks, Monitors and Semaphores Explained in Java, Optimistic Locking: • Locks, Monitors and Se...
#Geekific #CompletableFuture #Java #Multithreading
27 май 2024