Package EDU.oswego.cs.dl.util.concurrent
Class FJTask.Par
java.lang.Object
EDU.oswego.cs.dl.util.concurrent.FJTask
EDU.oswego.cs.dl.util.concurrent.FJTask.Par
- All Implemented Interfaces:
Runnable
- Enclosing class:
- FJTask
A
new Par
, when executed,
runs the tasks provided in the constructor in parallel using
coInvoke(tasks).
The class is a simple utility
that makes it easier to create composite FJTasks.-
Nested Class Summary
Nested classes/interfaces inherited from class EDU.oswego.cs.dl.util.concurrent.FJTask
FJTask.Par, FJTask.Par2, FJTask.Seq, FJTask.Seq2, FJTask.Wrap
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
tasks
-
-
Constructor Details
-
Par
Construct a Seq that, when executed, will process each of the tasks in the tasks array in parallel -
Par
Two-task constructor, for compatibility with previous release.
-
-
Method Details
-
run
public void run()
-