类 org.logicalcobwebs.concurrent.FJTaskRunner
的使用

使用 FJTaskRunner 的软件包
org.logicalcobwebs.concurrent Concurrency utilities. 
 

org.logicalcobwebs.concurrentFJTaskRunner 的使用
 

声明为 FJTaskRunnerorg.logicalcobwebs.concurrent 中的字段
protected  FJTaskRunner[] FJTaskRunnerGroup.threads
          The threads in this group
 

返回 FJTaskRunnerorg.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.
 

参数类型为 FJTaskRunnerorg.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.
 



Copyright © 2014. All rights reserved.