The open source
Fibonacci Fork/Join demo
What does the sample do?This demo demonstrates a node add-on which replaces the standard node processing thread pool with a fork/join thread pool. This allows JPPF tasks to locally (in the node) spawn ForkJoinTask (or any of its subclasses) instances and have them processed as expected for a ForkJoinPool. The use of this fork/join executor is illustrated with a Fibonacci computation demo.
How do I run it?Before running this sample application, you must have a JPPF server and at least one node running.
For information on how to set up a node and server, please refer to the JPPF documentation.
How do I use it?
This sample doesn't have a graphical user interface, however you can modify some of the parameters in the JPPF configuration file:
How can I build the sample?To compile the source code, from a command prompt type: "ant compile"
To generate the Javadoc, from a command prompt type: "ant javadoc"
I have additional questions and comments, where can I go?
If you need more insight into the code of this demo, you can consult the source, or have a look at the API documentation.
In addition, There are 2 privileged places you can go to:
|Copyright © 2005-2020 JPPF.org|