Skip to Content
Java Concurrency in Practice
book

Java Concurrency in Practice

by Brian Goetz, Tim Peierls, Joshua Bloch, Joseph Bowbeer, David Holmes, Doug Lea
May 2006
Intermediate to advanced
432 pages
12h 21m
English
Addison-Wesley Professional
Content preview from Java Concurrency in Practice

Chapter 8. Applying Thread Pools

Chapter 6 introduced the task execution framework, which simplifies management of task and thread lifecycles and provides a simple and flexible means for decoupling task submission from execution policy. Chapter 7 covered some of the messy details of service lifecycle that arise from using the task execution framework in real applications. This chapter looks at advanced options for configuring and tuning thread pools, describes hazards to watch for when using the task execution framework, and offers some more advanced examples of using Executor.

8.1. Implicit Couplings Between Tasks and Execution Policies

We claimed earlier that the Executor framework decouples task submission from task execution. Like many attempts ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java Concurrency and Multithreading in Practice

Java Concurrency and Multithreading in Practice

Tatiana Fesenko
Modern Concurrency in Java

Modern Concurrency in Java

A N M Bazlur Rahman
Java Concurrency, 2/e

Java Concurrency, 2/e

Douglas Schmidt
Modern Java in Action

Modern Java in Action

Raoul-Gabriel Urma, Mario Fusco, Alan Mycroft

Publisher Resources

ISBN: 0321349601Purchase book