Java 9 Concurrency Cookbook Second Edition
暫譯: Java 9 並發食譜(第二版)

Javier Fernandez Gonzalez

買這商品的人也買了...

商品描述

Key Features

  • 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 more

Book Description

Writing concurrent and parallel programming applications is an integral skill for any Java programmer. Java 9 comes with a host of fantastic features, including 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. The book covers all the elements of the Java Concurrency API, with essential recipes that will help you take advantage of the exciting new capabilities.

You will learn how to use parallel and reactive streams to process massive data sets. Next, you will move on to create streams and use all their intermediate and terminal operations to process big collections of data in a parallel and functional way.

Further, you'll discover a whole range of recipes for almost everything, such as thread management, synchronization, executors, parallel and reactive streams, and many more. At the end of the book, you will learn how to obtain information about the status of some of the most useful components of the Java Concurrency API and how to test concurrent applications using different tools.

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

商品描述(中文翻譯)

**主要特點**

- 詳細介紹多執行緒和並行程式設計的重要範例
- 本書深入探討 Java 9 的 API 及其對並發性的影響
- 提供執行緒安全性、高效能類別、安全共享等實用範例,還有更多內容

**書籍描述**

撰寫並發和並行程式設計應用程式是任何 Java 程式設計師必備的技能。Java 9 帶來了一系列出色的功能,包括顯著的性能提升和新的 API。

本書將帶您了解所有新的 API,教您如何構建並行和多執行緒的應用程式。本書涵蓋 Java Concurrency API 的所有元素,並提供必要的範例,幫助您充分利用這些令人興奮的新功能。

您將學習如何使用並行和反應式流來處理大量數據集。接下來,您將創建流並使用所有的中介和終端操作,以並行和函數式的方式處理大量數據集合。

此外,您還將發現幾乎所有主題的範例,例如執行緒管理、同步、執行器、並行和反應式流等。書籍的最後,您將學習如何獲取 Java Concurrency API 中一些最有用組件的狀態資訊,以及如何使用不同的工具測試並發應用程式。

**您將學習到的內容**

- 瞭解如何管理 Java Concurrency API 的基本組件
- 使用同步機制來避免數據競爭條件和其他並發應用程式的問題
- 將執行緒管理與其他部分分開