org.logicalcobwebs.concurrent
类 FJTask.Seq
java.lang.Object
org.logicalcobwebs.concurrent.FJTask
org.logicalcobwebs.concurrent.FJTask.Seq
- 所有已实现的接口:
- Runnable
- 包容类:
- FJTask
public static class FJTask.Seq
- extends FJTask
A new Seq, when executed,
invokes each task provided in the constructor, in order.
The class is a simple utility
that makes it easier to create composite FJTasks.
|
构造方法摘要 |
FJTask.Seq(FJTask[] tasks)
Construct a Seq that, when executed, will process each of the
tasks in the tasks array in order |
FJTask.Seq(FJTask task1,
FJTask task2)
Two-task constructor, for compatibility with previous release. |
| 从类 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.Seq
public FJTask.Seq(FJTask[] tasks)
- Construct a Seq that, when executed, will process each of the
tasks in the tasks array in order
FJTask.Seq
public FJTask.Seq(FJTask task1,
FJTask task2)
- Two-task constructor, for compatibility with previous release.
run
public void run()
Copyright © 2014. All rights reserved.