Java.util.concurrent is divided into five main parts:
-
Atomic data types
-
Sync Lock
-
Concurrent containers
-
Multithreaded Task execution
-
Thread Management
1. Atomic (atomic) data type
In Java.util.concurrent.atomic, this package implements the data type of the atomization operation, including the Boolean, Integer, Long, and referrence (reference) four types and the four types of array types.
2. Sync Lock
In the Java.util.concurrent.lock package, several types of locks are implemented in concurrent operations
3. Java Collection concurrency implementation
The data structures implemented are mainly list, queue and map
4. Multi-threaded task execution
Basically involves three concepts, callable performed tasks, Executor perform tasks, future asynchronous commit task return data
5. Thread Management Classes
implementation of the management of the thread collection
This article is from the "Huawei Rookie" blog, please be sure to keep this source http://huaweicainiao.blog.51cto.com/9966761/1931151
JDK 1.8 Java.util.concurrent Learning (i)