Home » geronimo-2.2-source-release » org.apache.geronimo.concurrent.harmony » [javadoc | source]
class: ThreadPoolExecutor.Worker [javadoc | source]

All Implemented Interfaces:

Worker threads
Field Summary
volatile  long completedTasks    Per thread completed task counter; accumulated into completedTaskCount upon termination. 
 Thread thread    Thread this worker is running in. Acts as a final field, but cannot be set until thread is created. 
 Worker(Runnable firstTask) 
Method from org.apache.geronimo.concurrent.harmony.ThreadPoolExecutor$Worker Summary:
interruptIfIdle,   interruptNow,   isActive,   run
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.concurrent.harmony.ThreadPoolExecutor$Worker Detail:
  void interruptIfIdle() 
    Interrupt thread if not running a task
  void interruptNow() 
    Cause thread to die even if running a task.
 boolean isActive() 
 public  void run() 
    Main run loop