Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

EDU.oswego.cs.dl.util.concurrent
Class PooledExecutor.Worker  view PooledExecutor.Worker download PooledExecutor.Worker.java

java.lang.Object
  extended byEDU.oswego.cs.dl.util.concurrent.PooledExecutor.Worker
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
PooledExecutor

protected class PooledExecutor.Worker
extends java.lang.Object
implements java.lang.Runnable

Class defining the basic run loop for pooled threads.


Field Summary
protected  java.lang.Runnable firstTask_
           
 
Constructor Summary
protected PooledExecutor.Worker(java.lang.Runnable firstTask)
           
 
Method Summary
 void run()
          This method will be called by whoever wishes to run your class implementing Runnable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

firstTask_

protected java.lang.Runnable firstTask_
Constructor Detail

PooledExecutor.Worker

protected PooledExecutor.Worker(java.lang.Runnable firstTask)
Method Detail

run

public void run()
Description copied from interface: java.lang.Runnable
This method will be called by whoever wishes to run your class implementing Runnable. Note that there are no restrictions on what you are allowed to do in the run method, except that you cannot throw a checked exception.

Specified by:
run in interface java.lang.Runnable