This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question to Javier Fernandez Gonzalez: Fork /Join?

 
Luke Murphy
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author
Greenhorn
Posts: 20
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic