Book Image

Java Concurrency and Multithreading in Practice [Video]

By : Tatiana Fesenko
Book Image

Java Concurrency and Multithreading in Practice [Video]

By: Tatiana Fesenko

Overview of this book

Multi-core processors are everywhere—from super-computers to mobile devices right in your pocket. That's why a modern developer must know how to leverage the power of multithreading. This course will teach you how to use parallelism and concurrency in Java. You will learn how to parallelize tasks and functions with the ForkJoin framework and Streams. You will also learn how to work with the very popular Reactive Streams recently introduced to Java. Furthermore, you will master concurrent collections and lower-level synchronization techniques with locks. This course conveniently provides quizzes to evaluate your knowledge and help you retain the new concepts. By the end of this practical training course, you will have the knowledge to write elegant programs for multicore computers with enhanced performance and improved responsiveness. All the code and related files are on GitHub at: https://github.com/PacktPublishing/Java-Concurrency-Multithreading-in-Practice
Table of Contents (5 chapters)
Chapter 2
Executing Functions in Parallel with Parallel Streams and Futures
Content Locked
Section 4
Sequential Streams
Many manipulations with collections communicate better when written in functional-style. Java Streams allow us to use functional-style on collections making code more readable, and thus, more maintainable.