public class ThreadPool
extends java.lang.Object
| Constructor and Description |
|---|
ThreadPool(int maxActive) |
| Modifier and Type | Method and Description |
|---|---|
ThreadPoolThread |
borrowThread() |
void |
returnThread(ThreadPoolThread thread) |
public void returnThread(ThreadPoolThread thread)
public ThreadPoolThread borrowThread() throws java.lang.InterruptedException
java.lang.InterruptedException