Detailed written form: https://rockthejvm.com/articles/struc...
This video is a comprehensive introduction to Java Structured Concurrency, which is the ability to organize concurrent and non-concurrent code in a way that is easily isolated, debuggable, readable, and maintainable.
Timeline:
0:00 What is Structured Concurrency in Java (realistic use case)
7:20 Sequential code vs Virtual Threads (executors)
10:15 Error handling in Virtual Threads
12:14 Concurrency Scopes in Java
18:42 Scope Shutdown Policies and Error Handling
25:43 Success Shutdown Policies (caching example)
36:29 Custom Concurrency Scopes and Policies
Follow Rock the JVM on:
LinkedIn: / rockthejvm
Twitter: / rockthejvm
Blog: https://rockthejvm.com/articles
-------------------------------------------------------------------------
Home: https://rockthejvm.com
-------------------------------------------------------------------------