Java Asynchronous Programming with Loom and Structured Concurrency - Tutorial
Offered By: Java via YouTube
Course Description
Overview
Explore asynchronous programming in Java with this comprehensive tutorial video focusing on Loom and Structured Concurrency. Dive into virtual threads, learn to write and migrate asynchronous code, and master Loom Scopes. Follow live demonstrations on implementing StructuredTaskScope, ShutdownOnSuccess, and custom scopes. Discover techniques for exception handling, unit testing, and working with different object types. Gain insights on adding timeouts to scopes and utilizing ExtentLocal. Perfect for developers looking to enhance their Java concurrent programming skills with the latest features available in JDK 19.
Syllabus
Intro
Two things about Virtual Threads
Writing asynchronous code
Moving asynchronous code to Virtual Threads
Introducing Loom Scopes
Live demo: a first StructuredTaskScope
Differences between Scopes and Executors
Introducing the ShutdownOnSuccess Scope
Live demo: using ShutdownOnSuccess
Exception handling
Creating a custom Scope in action
Tips to write unit tests
Live demo: handling different object types
Live demo: adding a timeout on your Scope
Using ExtentLocal instead of ThreadLocal
Live demo: using ExtentLocal in a single thread
Live demo: using ExtentLocal with scopes
Scope wrap up
Final words and outro
Taught by
Java
Related Courses
JavaScript PromisesGoogle via Udacity Grand Central Dispatch (GCD)
Udacity Asynchronous Programming in C# and .NET Core
Microsoft via edX JavaScript, часть 2: прототипы и асинхронность
Moscow Institute of Physics and Technology via Coursera Разработка веб-сервисов на Go - основы языка
Moscow Institute of Physics and Technology via Coursera