Java 9 Concurrency - Basic Elements [Video]

Java 9 Concurrency - Basic Elements [Video]

Javier Fernández González

Learn Java Concurrency API with Thread Synchronization and utilities
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 139781788478199
Course Length2 hours and 25 minutes

Video 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 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 reading this video, you will be able to comfortably build parallel applications in Java 9.

Table of Contents

Thread Management
The Course Overview
Creating, Running, and Setting the Characteristics of a Thread
Interrupting a Thread
Controlling the Interruption of a Thread
Sleeping and Resuming a Thread
Waiting for the Finalization of a Thread
Creating and Running a Daemon Thread
Processing Uncontrolled Exceptions in a Thread
Using Thread Local Variables
Grouping Threads and Processing Uncontrolled Exceptions in a Group of Threads
Creating Threads Through a Factory
Basic Thread Synchronization
Synchronizing a Method
Using Conditions in Synchronized Code
Synchronizing a Block of Code with a Lock
Synchronizing Data Access with Read/Write Locks
Using Multiple Conditions in a Lock
Advanced Locking with the StampedLock Class
Thread Synchronization Utilities
Controlling Concurrent Access to One or More Copies of a Resource
Waiting for Multiple Concurrent Events
Synchronizing Tasks in a Common Point
Running Concurrent-Phased Tasks
Controlling Phase Change in Concurrent-Phased Tasks
Exchanging Data Between Concurrent Tasks
Completing and Linking Tasks Asynchronously

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 
  • Use of high-level mechanisms to synchronize multiple threads
  • Use the synchronized keyword to implement an application  

Authors

Table of Contents

Thread Management
The Course Overview
Creating, Running, and Setting the Characteristics of a Thread
Interrupting a Thread
Controlling the Interruption of a Thread
Sleeping and Resuming a Thread
Waiting for the Finalization of a Thread
Creating and Running a Daemon Thread
Processing Uncontrolled Exceptions in a Thread
Using Thread Local Variables
Grouping Threads and Processing Uncontrolled Exceptions in a Group of Threads
Creating Threads Through a Factory
Basic Thread Synchronization
Synchronizing a Method
Using Conditions in Synchronized Code
Synchronizing a Block of Code with a Lock
Synchronizing Data Access with Read/Write Locks
Using Multiple Conditions in a Lock
Advanced Locking with the StampedLock Class
Thread Synchronization Utilities
Controlling Concurrent Access to One or More Copies of a Resource
Waiting for Multiple Concurrent Events
Synchronizing Tasks in a Common Point
Running Concurrent-Phased Tasks
Controlling Phase Change in Concurrent-Phased Tasks
Exchanging Data Between Concurrent Tasks
Completing and Linking Tasks Asynchronously

Video Details

ISBN 139781788478199
Course Length2 hours and 25 minutes
Read More

Read More Reviews

Recommended for You

Java 9 Concurrency - High-Level Elements [Video] Book Cover
Java 9 Concurrency - High-Level Elements [Video]
€ 142.78
€ 121.38
Java 9 Concurrency- Advanced Elements [Video] Book Cover
Java 9 Concurrency- Advanced Elements [Video]
€ 142.78
€ 121.38
Basic Data Structures and Algorithms in Java 9 [Video] Book Cover
Basic Data Structures and Algorithms in Java 9 [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
R Data Visualization - Basic Plots, Maps, and Pie Charts [Video] Book Cover
R Data Visualization - Basic Plots, Maps, and Pie Charts [Video]
€ 142.78
€ 121.38