February 2016
Intermediate to advanced
430 pages
9h 30m
English
The Java programming language has a very rich concurrency API. It contains classes to manage the basic elements of concurrency, such as Thread, Lock, and Semaphore, and classes that implement very high-level synchronization mechanisms, such as the executor framework
or the new parallel Stream API.
In this section, we will cover the basic classes that form the concurrency API.
The basic classes of the Java concurrency API are:
Thread class: This class represents all the threads that execute a concurrent Java applicationRunnable interface: This is another way to create concurrent applications in JavaThreadLocal class: This is a class to store variables locally to a threadThreadFactoryRead now
Unlock full access