Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Question to Javier Fernandez Gonzalez: Fork /Join?

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
Posts: 20
  • 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.
30 seconds to difuse a loaf of bread ... here, use this tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic