org.mortbay.thread
public interface ThreadPool
| Modifier and Type | Method and Description |
|---|---|
boolean |
dispatch(java.lang.Runnable job) |
int |
getIdleThreads() |
int |
getThreads() |
boolean |
isLowOnThreads() |
void |
join()
Blocks until the thread pool is
stopped. |
boolean dispatch(java.lang.Runnable job)
void join()
throws java.lang.InterruptedException
stopped.java.lang.InterruptedExceptionint getThreads()
int getIdleThreads()
boolean isLowOnThreads()
Copyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.