Meaningless Drivel is fun!
The moose likes Threads and Synchronization and the fly likes Question to Javier Fernandez Gonzalez: Fork /Join? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Question to Javier Fernandez Gonzalez: Fork /Join?" Watch "Question to Javier Fernandez Gonzalez: Fork /Join?" New topic

Question to Javier Fernandez Gonzalez: Fork /Join?

Luke Murphy
Ranch Hand

Joined: May 12, 2010
Posts: 300
Hi Javier,
Congratulations on your new book. Do you cover much about the fork / join framework introduced in Java 7?
Many thanks
Javier Fernandez Gonzalez

Joined: Dec 10, 2012
Posts: 20
Hello Luke

Yes, the book includes a chapter (chapter 5) dedicated to the new Fork/Join framework. That chapter includes the following recipes that show how to use the most important features of that framework:

-Creating a Fork/Join pool
-Joining the results of the tasks
-Running tasks asynchronously
-Throwing exceptions in the tasks
-Canceling a task

The chapter 9, (Additional Information) also includes a recipe about the Fork/Join Framework:

-Processing uncontrolled exceptions in a ForkJoinPool class

The chapter 9 it's not included in the paper book, but you can download it from the Packt's website

If you need more info, please let me know.

Author of Java 7 Concurrency Cookbook
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Question to Javier Fernandez Gonzalez: Fork /Join?
jQuery in Action, 3rd edition