Skip to content

Opening book details…

Can I read Java Concurrency in Practice on EtoBox?

Java Concurrency in Practice is a book available to read on EtoBox.

What is Java Concurrency in Practice about?

Table of Contents 3 Part I: Fundamentals 7 Chapter 2. Thread Safety 7 2.1. What is Thread Safety? 9 2.2. Atomicity 10 2.3. Locking 14 2.4. Guarding State with Locks 17 2.5. Liveness and Performance 19 Chapter 3. Sharing Objects 22 3.1. Visibility 22 3.2. Publication and Escape 27 3.3. Thread Confinement 30 3.4. Immutability 33 3.5. Safe Publication 36 Chapter 4. Composing Objects 40 4.1. Designing a Thread-safe Class 40 4.2. Instance Confinement 43 4.3. Delegating Thread Safety 47 4.4. Adding Functionality to Existing Thread-safe Classes 53 4.5. Documenting Synchronization Policies 56 Chapter 5. Building Blocks 59 5.1. Synchronized Collections 59 5.2. Concurrent Collections 63 5.3. Blocking Queues and the Producer-consumer Pattern 66 5.4. Blocking and Interruptible Methods 70 5.5. Synchronizers 71 5.6. Building an Efficient, Scalable Result Cache 77 Summary of Part I 82 Part II: Structuring Concurrent Applications 85 Chapter 6. Task Execution 85 6.1. Executing Tasks in Threads 85 6.2. The Executor Framework 88 6.3. Finding Exploitable Parallelism 94 Summary 101 Chapter 7. Cancellation and Shutdown 102 7.1. Task Cancellation 103 7.2. Stopping a Thread-based Service 114 7.3. Handling

Language
EN
Subjects
Computer Science, Programming, Stem
Rating
4.42 / 5 (1,661 ratings)
Updated
2026-03-13

Similar books