Skip to main content
00:00/00:00
Lecture 11 of 63

ExecutorServiceFuture and its limitations - Hands On

Download Course (Free)

Course Content

0 / 63 completed
Section 1: Getting Started With the Course2 videos

Course Introduction & Objectives

4m

Prerequisites

1m
Section 2: Getting Started with Parallel and Asynchronous programming3 videos

Evolution of ConcurrencyParallelism APIs in Java

3m

Why Parallel Programming and Asynchronous Programming

8m

Concurrency vs Parallelism

7m
Section 3: Threads, Future, ForkJoin and its Limitations7 videos

Section Overview

1m

Introduction to ThreadPoolExecutorService & Future

8m

Threads and its Limitations - Hands On

18m

Overview of the Service & Code Walkthrough

19m

ExecutorServiceFuture and its limitations - Hands On

21mNow Playing

Fork-Join Framework

6m

Fork Join Framework - Hands On

37m
Section 4: Course Project SetUp1 videos

Course Project SetUp

5m
Section 5: Getting started with Parallel Streams4 videos

Introduction to Streams API & Parallel Streams

7m

Parallel Streams - Hands On

12m

Unit Testing Parallel Streams - JUnit5

8m

Sequential() and Parallel() Functions in Streams API

14m
Section 6: Build Retail Checkout Application using Parallel Streams3 videos

Overview of the Application

1m

Implement the Checkout Application using parallel Streams

10m

Unit Test for the Checkout Application - JUnit5

24m
Section 7: Parallel Streams - Under the hood8 videos

Parallel Streams - How it works

4m

Comparing Spliterator Performances - ArrayList vs LinkedList - Part 2

5m

Parallel Streams - Final Computation Result Order

7m

Collect & Reduce Terminal Operation in Parallel Streams

5m

Comparing Spliterator Performances - ArrayList vs LinkedList - Part 1

28m

Collect vs Reduce - Hands On

15m

Identity in reduce() Operator

17m

Streams API Operators - Poor Performance

14m
Section 8: Parallel Streams - Threading Model & Common ForkJoin Pool3 videos

Internals of Common ForkJoin Pool

2m

Parallelism & Threads in ForkJoin Pool

8m

Modifying the Default parallelism in Parallel Streams

7m
Section 9: Parallel Streams - Summary1 videos

Parallel Streams - Summary

2m
Section 10: CompletableFuture1 videos

Introduction to CompletableFuture

13m
Section 11: Exploring CompletableFuture Functions6 videos

Lets write our first CompletableFuture

16m

Transform Data using thenApply()

4m

Unit Testing CompletableFuture using JUnit5

8m

Combing independent Async Tasks using thenCombine

10m

Combing 3 Independent Async Tasks using thenCombine

4m

Invoking Async Tasks using thenCompose

10m
Section 12: Build ProductService Application using CompletableFuture2 videos

Implement ProductService using CompletableFuture - Approach 2

2m

Implement ProductService using CompletableFuture - Approach 1

21m
Section 13: Combining Streams and CompletableFuture3 videos

Adding Inventory Details to a Product

3m

Integrate InventoryService in ProductService - Approach 2

11m

Integrate InventoryService in ProductService - Approach 1

36m
Section 14: Exception HandlingRecovery in CompletableFuture6 videos

Different StrategiesOptions to handle Exceptions in CompletableFuture

2m

HandleRecover Exceptions using handle function

19m

HandleRecover Exceptions using handle function - Part2

4m

HandleRecover Exceptions using handle function - Part3

9m

Handling Exceptions using whenComplete function

14m

HandleRecover Exceptions using exceptionally function

10m
Section 15: Implement Exception HandlingRecovery in ProductService2 videos

HandleRecover Exceptions in ReviewService

19m

HandleRecover Exceptions in ProductInfoService

22m
Section 16: CompletableFuture & Threadpool2 videos

CompletableFuture - Default ThreadPool

7m

CompletableFuture - User Defined ThreadPool using ExecutorService

5m
Section 17: Threads and Async Overloaded Methods in CompletableFuture2 videos

Threads in CompletableFuture

3m

Async() overloaded functions in CompletableFuture

14m
Section 18: Build RestFul API Client using Spring WebClient and CompletableFuture5 videos

Introduction to Spring WebClient and Overview of the Movies RestFul API

11m

Write JUnit for the MoviesService Rest Client

17m

Combining CompletableFuture and RestClient

14m

Build the RestClient for MoviesService

29m

Retrieving Multiple Movies using Spring WebClient and CompletableFuture

24m
Section 19: Handle Multiple CompletableFutures - anyOf(), allOf()2 videos

Dealing with Multiple CompletableFutures - allOf()

7m

Dealing with Multiple CompletableFutures - anyOf()

14m