org.logicalcobwebs.concurrent
Class FJTask.Par
- FJTask
- Runnable
public static class FJTask.Par
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.
Par(FJTask task1, FJTask task2) - Two-task constructor, for compatibility with previous release.
|
Par(FJTask[] tasks) - Construct a Seq that, when executed, will process each of the
tasks in the tasks array in parallel
|
cancel , coInvoke , coInvoke , fork , getFJTaskRunner , getFJTaskRunnerGroup , invoke , isDone , join , par , par , reset , seq , seq , setDone , start , yield |
tasks
protected final FJTask[] tasks
Par
public Par(FJTask task1,
FJTask task2)
Two-task constructor, for compatibility with previous release.
Par
public Par(FJTask[] tasks)
Construct a Seq that, when executed, will process each of the
tasks in the tasks array in parallel