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