Java Concurrency Programming Practice Directory
Concurrent Programming 01--concurrenthashmap
Concurrent programming 02--blocking queues and producer-consumer patterns
Concurrent programming 03--latching countdownlatch and fence Cyclicbarrier
Concurrent programming 04--callable and future
Concurrent programming 05--completionservice:executor and Blockingqueue
Concurrent Programming 06--Task cancellation
Concurrent programming 07--interruption of task cancellation
Concurrent programming 08--task cancellation stop thread-based services
Concurrent programming 09--off of task cancellation Executorservice
Concurrent Programming 10--task cancellation "poison pill" object
Concurrent programming 11--Limitations of the shutdownnow of task cancellation and shutdown
Concurrent programming 12--use of the thread pool configuration threadpoolexecutor and Saturation policy
The overall architecture of the concurrent programming 13--thread pool
The principle of concurrent programming 14--thread pool
Two principles of concurrent programming 15--thread pool
Overview 1th Part Reference Code 1.1 executors full source 1.2 threadpoolexecutor full Source 2nd section Cheng Code Analysis 2.1 Create a "thread pool" 2.1.1 Newfixedthreadpool () 2.1.2 Thr Eadpoolexecutor () 2.2 Add task to "thread pool" 2.2.1 Execute () 2.2.2 Addworker () 2.2.3 submit () 2.3 Close the thread pool 1th reference code (based on jdk1.7.0_45) 1.1 Executors Full Source
1.2 Threadpoolexecutor Full Source
Part 2nd Cheng Code Analysis 2.1 Creating a thread pool 2.1.1 Newfixedthreadpool ()
2.1.2 Threadpoolexecutor ()
2.2 Adding tasks to the thread pool 2.2.1 Execute ()
2.2.2 Addworker ()
2.2.3 Submit ()
2.3 Turn off the thread pool
Two principles of concurrent programming 15--thread pool