Package net.sf.antcontrib.util
Class ThreadPool
- java.lang.Object
-
- net.sf.antcontrib.util.ThreadPool
-
public class ThreadPool extends java.lang.Object
Place class description here.- Author:
- Matthew Inger
-
-
Constructor Summary
Constructors Constructor Description ThreadPool(int maxActive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThreadPoolThread
borrowThread()
void
returnThread(ThreadPoolThread thread)
-
-
-
Method Detail
-
returnThread
public void returnThread(ThreadPoolThread thread)
-
borrowThread
public ThreadPoolThread borrowThread() throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
-