14

Concurrency

CERTIFICATION OBJECTIVES

    •    Use Collections from the java.util .concurrent Package with a Focus on the Advantages over and Differences from the Traditional java.util Collections

    •    Use Lock, ReadWriteLock, and ReentrantLock Classes in the java.util .cuncurrent.locks Package to Support Lock-Free Thread-Safe Programming on Single Variables

    •    Use Executor, ExecutorService, Executors, Callable, and Future to Execute Tasks Using Thread Pools

    •    Use the Parallel Fork/Join Framework

     image    Two-Minute Drill

Q&A Self Test

Concurrency with the java.util.concurrent Package

As you learned in the previous chapter ...

Get OCA/OCP Java SE 7 Programmer I & II Study Guide (Exams 1Z0-803 & 1Z0-804) 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.