Book description
This concise book empowers all Java developers to master the complexity of the Java thread APIs and concurrency utilities. This knowledge aids the Java developer in writing correct and complex performing multithreaded applications.
Java's thread APIs and concurrency utilities are among its most powerful and challenging APIs and language features. Java beginners typically find it very difficult to use these features to write correct multithreaded applications. Threads and the Concurrency Utilities helps all Java developers master and use these capabilities effectively.
This book is divided into two parts of four chapters each. Part 1 focuses on the Thread APIs and Part 2 focuses on the concurrency utilities. In Part 1, you learn about Thread API basics and runnables, synchronization and volatility, waiting and notification, and the additional capabilities of thread groups, thread local variables, and the Timer Framework. In Part 2, you learn about concurrency utilities basics and executors, synchronizers, the Locking Framework, and the additional capabilities of concurrent collections, atomic variables, and the Fork/Join Framework.
Each chapter ends with select exercises designed to challenge your grasp of the chapter's content. An appendix provides the answers to these exercises. A second appendix explores how threads are used by various standard class library APIs. Specifically, you learn about threads in the contexts of Swing, JavaFX, and Java 8's Streams API.
Table of contents
- Cover
- Title
- Copyright
- Dedication
- Contents at a Glance
- Contents
- About the Author
- About the Technical Reviewer
- Acknowledgments
- Introduction
- Part I : Thread APIs
- Part II : Concurrency Utilities
- Part III : Appendices
- Index
Product information
- Title: Java Threads and the Concurrency Utilities
- Author(s):
- Release date: November 2015
- Publisher(s): Apress
- ISBN: 9781484217009
You might also like
book
Design Patterns and Best Practices in Java
Create various design patterns to master the art of solving problems using Java About This Book …
book
Java Coding Problems
Develop your coding skills by exploring Java concepts and techniques such as Strings, Objects and Types, …
book
Mastering Spring 5.0
Develop cloud native applications with microservices using Spring Boot, Spring Cloud, and Spring Cloud Data Flow …
book
Java I/O, NIO and NIO.2
Java I/O, NIO, and NIO.2 is a power-packed book that accelerates your mastery of Java's various …