Java 9 Concurrency - High-Level Elements [Video]

Java 9 Concurrency - High-Level Elements [Video]

Javier Fernández González

Learn the Java Concurrency API with Thread Executors and the Fork/Join Frame work
Mapt Subscription
FREE
€29.98/m after trial
Video
€121.38
RRP €142.78
Save 14%
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
€0.00
€121.38
€29.98p/m after trial
RRP €142.78
Subscription
Video
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Video Details

ISBN 139781788479639
Course Length2 hours and 57 minutes

Video Description

Writing concurrent and parallel programming applications is a crucial skill for any Java programmer. Java 9 comes with a host of fantastic features, including significant performance improvements and new APIs. This video will take you through all the new APIs, showing you how to build parallel and multi-threaded applications. The video 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 video, 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.

Style and Approach

This recipe-based video will allow you to explore the exciting capabilities of concurrency in Java. After viewing this video, you will be able to comfortably build parallel applications in Java 9.

Table of Contents

Thread Executors
The Course Overview
Creating a Thread Executor and Controlling its Rejected Tasks
Executing Tasks in an Executor that Returns a Result
Running Multiple Tasks and Processing the First Result
Running Multiple Tasks and Processing all the Results
Running a Task in an Executor After a Delay
Running a Task in an Executor Periodically
Canceling a Task in an Executor
Controlling a Task Finishing in an Executor
Separating the Launching of Tasks and the Processing of their Results in an Executor
Fork/Join Framework
Creating a Fork/Join Pool
Joining the Results of the Tasks
Running Tasks Asynchronously
Throwing Exceptions in the Tasks
Canceling a Task
Parallel and Reactive Streams
Creating Streams from Different Sources
Reducing the Elements of a Stream
Collecting the Elements of a Stream
Applying an Action to Every Element of a Stream
Filtering the Elements of a Stream
Transforming the Elements of a Stream
Sorting the Elements of a Stream
Verifying Conditions in the Elements of a Stream
Reactive Programming with Reactive Streams
Concurrent Collections
Using Non-Blocking Thread-Safe Deques
Using Blocking Thread-Safe Deques
Using Blocking Thread-Safe Queue Ordered by Priority
Using Thread-Safe Lists with Delayed Elements
Using Thread-Safe Navigable Maps
Using Thread-Safe HashMaps
Using Atomic Variables
Using Atomic Arrays
Using the Volatile Keyword
Using Variable Handles

What You Will Learn

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

Authors

Table of Contents

Thread Executors
The Course Overview
Creating a Thread Executor and Controlling its Rejected Tasks
Executing Tasks in an Executor that Returns a Result
Running Multiple Tasks and Processing the First Result
Running Multiple Tasks and Processing all the Results
Running a Task in an Executor After a Delay
Running a Task in an Executor Periodically
Canceling a Task in an Executor
Controlling a Task Finishing in an Executor
Separating the Launching of Tasks and the Processing of their Results in an Executor
Fork/Join Framework
Creating a Fork/Join Pool
Joining the Results of the Tasks
Running Tasks Asynchronously
Throwing Exceptions in the Tasks
Canceling a Task
Parallel and Reactive Streams
Creating Streams from Different Sources
Reducing the Elements of a Stream
Collecting the Elements of a Stream
Applying an Action to Every Element of a Stream
Filtering the Elements of a Stream
Transforming the Elements of a Stream
Sorting the Elements of a Stream
Verifying Conditions in the Elements of a Stream
Reactive Programming with Reactive Streams
Concurrent Collections
Using Non-Blocking Thread-Safe Deques
Using Blocking Thread-Safe Deques
Using Blocking Thread-Safe Queue Ordered by Priority
Using Thread-Safe Lists with Delayed Elements
Using Thread-Safe Navigable Maps
Using Thread-Safe HashMaps
Using Atomic Variables
Using Atomic Arrays
Using the Volatile Keyword
Using Variable Handles

Video Details

ISBN 139781788479639
Course Length2 hours and 57 minutes
Read More

Read More Reviews

Recommended for You

Java 9 Concurrency - Basic Elements [Video] Book Cover
Java 9 Concurrency - Basic Elements [Video]
€ 142.78
€ 121.38
Java 9 Concurrency- Advanced Elements [Video] Book Cover
Java 9 Concurrency- Advanced Elements [Video]
€ 142.78
€ 121.38
Mastering Concurrency Programming with Java 9 - Second Edition Book Cover
Mastering Concurrency Programming with Java 9 - Second Edition
€ 45.58
€ 31.92
Java 9 Concurrency Cookbook - Second Edition Book Cover
Java 9 Concurrency Cookbook - Second Edition
€ 45.58
€ 31.92
Writing High Performance Java Application in Java 9 [Video] Book Cover
Writing High Performance Java Application in Java 9 [Video]
€ 142.78
€ 121.38
Advanced Data Structures and Algorithms in Java 9 [Video] Book Cover
Advanced Data Structures and Algorithms in Java 9 [Video]
€ 142.78
€ 121.38