Fork/Join Framework

In this chapter, we will cover:

  • Creating a fork/join pool
  • Joining the results of the tasks
  • Running tasks asynchronously
  • Throwing exceptions in the tasks
  • Canceling a task

Get Java 9 Concurrency Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.