org.logicalcobwebs.concurrent
类 FJTask.Par

java.lang.Object
  继承者 org.logicalcobwebs.concurrent.FJTask
      继承者 org.logicalcobwebs.concurrent.FJTask.Par
所有已实现的接口:
Runnable
包容类:
FJTask

public static class FJTask.Par
extends 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.


嵌套类摘要
 
从类 org.logicalcobwebs.concurrent.FJTask 继承的嵌套类/接口
FJTask.Par, FJTask.Par2, FJTask.Seq, FJTask.Seq2, FJTask.Wrap
 
字段摘要
protected  FJTask[] tasks
           
 
构造方法摘要
FJTask.Par(FJTask[] tasks)
          Construct a Seq that, when executed, will process each of the tasks in the tasks array in parallel
FJTask.Par(FJTask task1, FJTask task2)
          Two-task constructor, for compatibility with previous release.
 
方法摘要
 void run()
           
 
从类 org.logicalcobwebs.concurrent.FJTask 继承的方法
cancel, coInvoke, coInvoke, fork, getFJTaskRunner, getFJTaskRunnerGroup, invoke, isDone, join, par, par, reset, seq, seq, setDone, start, yield
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

tasks

protected final FJTask[] tasks
构造方法详细信息

FJTask.Par

public FJTask.Par(FJTask[] tasks)
Construct a Seq that, when executed, will process each of the tasks in the tasks array in parallel


FJTask.Par

public FJTask.Par(FJTask task1,
                  FJTask task2)
Two-task constructor, for compatibility with previous release.

方法详细信息

run

public void run()


Copyright © 2014. All rights reserved.