November 2017
Intermediate to advanced
398 pages
10h 14m
English
In this section, we will look into the Executor interfaces and their implementations provided in the java.util.concurrent package. They encapsulate thread management and minimize the time an application developer spends on the writing code related to threads' life cycles.
There are three Executor interfaces defined in the java.util.concurrent package:
Runnable r = ...;(new Thread(r)).start()
However, we can also avoid a new thread creation by getting it from a pool.
Read now
Unlock full access