| 程序包 | 说明 |
|---|---|
| org.logicalcobwebs.concurrent |
| 限定符和类型 | 字段和说明 |
|---|---|
protected FJTaskRunner[] |
FJTaskRunnerGroup.threads
The threads in this group
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected FJTaskRunner[] |
FJTaskRunnerGroup.getArray()
Return the array of threads in this group.
|
static FJTaskRunner |
FJTask.getFJTaskRunner()
Return the FJTaskRunner thread running the current FJTask.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
Copyright © 2024. All rights reserved.