Java Threads and the Concurrency Utilities Jeff Friesen
Publisher: Apress
Introduction • Extension of the Java SE Concurrency Utilities API on server managed threads • Tasks must implement either: – java.lang. Learn how the Java Concurrency Utilities handle locking, atomic variables, and fork/join operations. The java.util.concurrent package aims to do for concurrency what java.util. The concurrency utilities packages provide a powerful, extensible framework of high-performance threading utilities such as thread pools and blocking queues. � Executors – thread pools and scheduling. Utility classes commonly useful in concurrent programming. Supporting full concurrency of retrievals and adjustable expected concurrency for updates. � Rationale and goals for JSR 166. The context of the container is propagated to the thread executing the task. � Java community process – concurrency utilities. Executors, Thread pools, and Futures Most access via Executors utility class. A guide to developing enterprise applications for the Java Platform, Enterprise Edition 7 (Java The primary components of the concurrency utilities are as follows.