Public Member Functions | |
| ThreadPool () | |
| ThreadPool (int size) | |
| ThreadPool (int minsz, int maxsz) | |
| synchronized void | addRunnable (Runnable runner) |
| synchronized Runnable | nextRunnable () |
| synchronized void | stopThreads () |
Philippe Durieux
Definition at line 38 of file ThreadPool.java.
|
|
Create a pool with default values Definition at line 63 of file ThreadPool.java. |
|
|
Create a pool with a number of threads pre allocated
Definition at line 71 of file ThreadPool.java. |
|
||||||||||||
|
Create a pool with a minimum and a maximum values for thread number.
Definition at line 80 of file ThreadPool.java. |
|
|
Add a Runnable in the pool, ready to be run.
Definition at line 96 of file ThreadPool.java. Referenced by org.objectweb.jonas_ejb.container.JMessageDrivenBean.start(). |
|
|
Definition at line 119 of file ThreadPool.java. |
|
|
Pool is removed: Stop all threads Definition at line 148 of file ThreadPool.java. |
1.3.9.1