org.eclipse.jetty.util.thread
public interface ThreadPool
Modifier and Type | Interface and Description |
---|---|
static interface |
ThreadPool.SizedThreadPool |
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.InterruptedException
int getThreads()
int getIdleThreads()
boolean isLowOnThreads()
Copyright © 2017. All Rights Reserved.