Book

Mastering Concurrency Programming with Java 9

Concurrency programming allows several large tasks to be divided into smaller sub-tasks, which are further processed as individual tasks that run in parallel. Java 9 includes a comprehensive API with lots of ready-to-use components for easily implementing powerful concurrency applications, but with high flexibility so you can adapt these components to your needs.

Offered byPackt Logo

Difficulty Level

Intermediate

Completion Time

17h12m

Language

English

About Book

Who Is This Book For?

This book is for competent Java developers who have basic understanding of concurrency, but knowledge of effective implementation of concurrent programs or usage of streams for making processes more efficient is not required

Book content

chapters 17h12m total length

The First Step – Concurrency Design Principles

Working with basic elements – Threads and Runnables

Managing Lots of Threads – Executors

Getting the Maximum from Executors

Getting Data from the Tasks – The Callable

Running Tasks Divided into Phases – The Phaser Class

Optimizing Divide and Conquer Solutions – The Fork/Join Framework

Processing Massive Datasets with Parallel Streams – The Map and Reduce Model

Processing Massive Datasets with Parallel Streams – The Map and Collect Model

Asynchronous Stream Processing – Reactive Streams

Diving into Concurrent Data Structures and Synchronization Utilities

Testing and Monitoring Concurrent Applications

Concurrency in JVM – Clojure Groovy with Gpars library and Scala

Related Resources

Access Ready-to-Use Books for Free!

Get instant access to a library of pre-built books—free trial, no credit card required. Start training your team in minutes!

No credit card required