|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 FJTaskRunner 的软件包 | |
|---|---|
| org.logicalcobwebs.concurrent | Concurrency utilities. |
| org.logicalcobwebs.concurrent 中 FJTaskRunner 的使用 |
|---|
| 声明为 FJTaskRunner 的 org.logicalcobwebs.concurrent 中的字段 | |
|---|---|
protected FJTaskRunner[] |
FJTaskRunnerGroup.threads
The threads in this group |
| 返回 FJTaskRunner 的 org.logicalcobwebs.concurrent 中的方法 | |
|---|---|
protected FJTaskRunner[] |
FJTaskRunnerGroup.getArray()
Return the array of threads in this group. |
static FJTaskRunner |
FJTask.getFJTaskRunner()
Return the FJTaskRunner thread running the current FJTask. |
| 参数类型为 FJTaskRunner 的 org.logicalcobwebs.concurrent 中的方法 | |
|---|---|
protected void |
FJTaskRunnerGroup.checkActive(FJTaskRunner t,
long scans)
Set active status of thread t to false, and then wait until: (a) there is a task in the entry queue, or (b) other threads are active, or (c) the current thread is interrupted. |
protected boolean |
FJTaskRunnerGroup.getActive(FJTaskRunner t)
Return active status of t. |
protected void |
FJTaskRunnerGroup.setActive(FJTaskRunner t)
Set active status of thread t to true, and notify others that might be waiting for work. |
protected void |
FJTaskRunnerGroup.setInactive(FJTaskRunner t)
Set active status of thread t to false. |
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||