Java 9 Concurrency Cookbook - Second Edition

Java 9 Concurrency Cookbook - Second Edition PDF Author: Javier Fernandez Gonzalez
Publisher:
ISBN: 9781787124417
Category :
Languages : en
Pages : 529

Get Book

Book Description
Over 75-80 recipes for concurrent and parallel programming with Java 9About This Book* Get detailed coverage of important recipes on multi-threading and parallel programming* This book takes a close look at the Java 9 APIs and their impact on concurrency* See practical examples on thread safety, high-performance classes, safe sharing, and a whole lot moreWho This Book Is ForThe book is for Java developers and programmers at an intermediate to advanced level. It will be especially useful for developers who want to take advantage of task-based recipes using Java 9's concurrent API to program thread-safe solutions.What you will learn* Find out to manage the basic components of the Java Concurrency API* Use synchronization mechanisms to avoid data race conditions and other problems of concurrent applications* Separate the thread management from the rest of the application with the Executor framework* Solve problems using a parallelized version of the divide and conquer paradigm with the Fork / Join framework* Process massive data sets in an optimized way using streams and reactive streams* See which data structures we can use in concurrent applications and how to use them* Practice efficient techniques to test concurrent applications* Get to know tips and tricks to design concurrent applicationsIn DetailWriting concurrent and parallel programming applications is an integral skill for any Java programmer. Java 9 comes with a host of fantastic features, which includes significant performance improvements and new APIs. This book will take you through all the new APIs, showing you how to build parallel and multi-threaded applications. It covers all the elements of the Java Concurrency API, with essential recipes that will help you take advantage of the exciting new capabilities.This book will help you to build highly scalable, robust, and concurrent applications. The recipe-based approach is ideal for Java developers who want to learn concurrency in a practical and example-based manner. We will explore topics such as thread management, synchronization, executors, parallel and reactive streams, and a whole lot more.