| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
  |
  +--java.lang.ThreadGroup
        |
        +--org.apache.java.recycle.pool.WorkerPool
This class is the public frontend for the thread pool code.
| Field Summary | |
| static boolean | DEBUG | 
| (package private)  RecycleBin | pool | 
| static boolean | QUICK_DEBUG | 
| Fields inherited from class java.lang.ThreadGroup | 
| daemon,  
destroyed,  
groups,  
maxPriority,  
name,  
ngroups,  
nthreads,  
parent,  
threads,  
vmAllowSuspension | 
| Constructor Summary | |
| WorkerPool(int capacity) | |
| WorkerPool(int capacity,
           java.lang.String controller) | |
| Method Summary | |
|  void | execute(Stoppable work) | 
| Methods inherited from class java.lang.ThreadGroup | 
| activeCount, 
activeGroupCount, 
add, 
add, 
allowThreadSuspension, 
checkAccess, 
destroy, 
enumerate, 
enumerate, 
enumerate, 
enumerate, 
enumerate, 
enumerate, 
getMaxPriority, 
getName, 
getParent, 
interrupt, 
isDaemon, 
isDestroyed, 
list, 
list, 
parentOf, 
remove, 
remove, 
resume, 
setDaemon, 
setMaxPriority, 
stop, 
suspend, 
toString, 
uncaughtException | 
| Methods inherited from class java.lang.Object | 
|  | 
| Field Detail | 
public static final boolean DEBUG
public static final boolean QUICK_DEBUG
RecycleBin pool
| Constructor Detail | 
public WorkerPool(int capacity)
public WorkerPool(int capacity,
                  java.lang.String controller)
| Method Detail | 
public void execute(Stoppable work)
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||