CHAPTER 11
Java Concurrency
Certification Objectives |
---|
Create worker threads using Runnable, Callable, and use an ExecutorService to concurrently execute tasks |
Identify potential threading problems among deadlock, starvation, livelock, and race conditions |
Use synchronized keyword and java.util.concurrent.atomic package to control the order of thread execution |
Use java.util.concurrent collections and classes including CyclicBarrier and CopyOnWriteArrayList |
Use parallel Fork/Join Framework |
Use parallel Streams including reduction, decomposition, merging processes, pipelines, and performance |
Concurrency is gaining importance with more widespread ...
Get Oracle Certified Professional Java SE 8 Programmer Exam 1Z0-809: A Comprehensive OCPJP 8 Certification Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.