| java.lang.Object org.pnuts.multithread.ThreadPool
ThreadPool | public class ThreadPool (Code) | | A simple, general purpose thread pool implementation
|
Inner Class :static class WorkerThreadGroup extends ThreadGroup | |
Inner Class :class WorkerThread extends Thread | |
Constructor Summary | |
public | ThreadPool(int maxThreads) | public | ThreadPool(int maxThreads, int minThreads, long timeout) |
worker_id | static int worker_id(Code) | | |
ThreadPool | public ThreadPool(int maxThreads)(Code) | | |
ThreadPool | public ThreadPool(int maxThreads, int minThreads, long timeout)(Code) | | |
removeWorker | synchronized void removeWorker(WorkerThread th)(Code) | | |
setPriority | public synchronized void setPriority(int prio)(Code) | | |
shutdown | public synchronized void shutdown()(Code) | | |
|
|