0Pricing
Java Academy · Lesson

Tasks & Lifecycles

Understand task states and lifecycles in concurrency: from creation to termination.

Intro

Tasks represent units of work. Threads and executors run tasks, and each task goes through a lifecycle.

Thread states

Thread states: NEW, RUNNABLE, BLOCKED, WAITING, TIMED_WAITING, TERMINATED.

All lessons in this course

  1. Executors & Futures
  2. Tasks & Lifecycles
← Back to Java Academy