Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Advanced Asynchronous Programming in Java

via CodeSignal

Overview

This course covers advanced asynchronous programming in Java, focusing on the CompletableFuture API and the Executor Framework. You'll learn to create and manage thread pools with ExecutorService and ThreadPoolExecutor, submit tasks, customize thread pool behavior, and build asynchronous pipelines by chaining and combining tasks.

Syllabus

  • Unit 1: Introduction to Thread Pools
    • Running Executor Services in Action
    • Expand Your Thread Pool Capacity
    • Scheduling Tasks with Executors
    • Fix the Executor Shutdown Logic
    • Managing API Data with Executors
  • Unit 2: Callable and Future
    • Callable and Future in Action
    • Handling Multiple Callables with Future
    • Submitting Multiple Tasks with invokeAll
    • Fix Callable Submission Error
    • Callable Task for Sum Calculation
  • Unit 3: Understanding CompletableFuture
    • Executing CompletableFuture in Action
    • Handling Task Completion and Results in CompletableFuture
    • Parallel Tasks with CompletableFuture
    • Handling Exceptions Gracefully
    • Adding Time Management to Workflows
    • Async Weather Forecasting Challenge
  • Unit 4: Customizing Thread Pool Executors
    • Custom ThreadPoolExecutor in Action
    • Exploring Thread Pool Queues
    • Fix the ThreadPoolExecutor Bug
    • Enhance ThreadPool Management
    • Web Scraper with ThreadPoolExecutor
  • Unit 5: Integrating CompletableFuture with Custom Thread Pools
    • Executing Asynchronous Tasks Efficiently
    • Exploring Executor Types
    • Fix CompletableFuture Code Bug
    • Extend CompletableFuture with thenApplyAsync
    • Build a Stock Price Fetcher

Reviews

Start your review of Advanced Asynchronous Programming in Java

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.