thepointman.dev_

Courses / Java Concurrency

Executor Framework

intermediate8 lessons

The Executor abstraction, ThreadPoolExecutor's five constructor parameters and their interaction, why corePoolSize fills before maxPoolSize, the four rejection policies, what Executors.newFixedThreadPool() hides (unbounded queue), Callable/Future, and the correct shutdown sequence for production pools.

// Lessons

  1. 01

    The Executor Abstraction — Decoupling Task Submission from Execution

    soon
  2. 02

    ThreadPoolExecutor — corePoolSize, maximumPoolSize and keepAliveTime

    soon
  3. 03

    The Queue — SynchronousQueue vs LinkedBlockingQueue vs ArrayBlockingQueue

    soon
  4. 04

    The Thread Creation Policy — When Are New Threads Created?

    soon
  5. 05

    RejectedExecutionHandler — All Four Policies Explained

    soon
  6. 06

    Executors Factory Methods — What's Hidden Behind the Convenience

    soon
  7. 07

    Callable and Future — Submitting Tasks That Return Results

    soon
  8. 08

    Shutting Down Safely — shutdown(), shutdownNow() and awaitTermination()

    soon