public class WorkManagerThreadPool extends CXFWorkAdapter implements org.eclipse.jetty.util.thread.ThreadPool
| Modifier and Type | Class and Description |
|---|---|
class |
WorkManagerThreadPool.WorkImpl |
DEFAULT_START_TIME_OUT| Constructor and Description |
|---|
WorkManagerThreadPool(javax.resource.spi.work.WorkManager wm) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
dispatch(Runnable job) |
int |
getIdleThreads() |
int |
getThreads() |
boolean |
isLowOnThreads() |
void |
join() |
void |
workRejected(javax.resource.spi.work.WorkEvent e) |
workAccepted, workCompleted, workStartedpublic WorkManagerThreadPool(javax.resource.spi.work.WorkManager wm)
public boolean dispatch(Runnable job)
dispatch in interface org.eclipse.jetty.util.thread.ThreadPoolpublic int getIdleThreads()
getIdleThreads in interface org.eclipse.jetty.util.thread.ThreadPoolpublic int getThreads()
getThreads in interface org.eclipse.jetty.util.thread.ThreadPoolpublic boolean isLowOnThreads()
isLowOnThreads in interface org.eclipse.jetty.util.thread.ThreadPoolpublic void join()
throws InterruptedException
join in interface org.eclipse.jetty.util.thread.ThreadPoolInterruptedExceptionpublic void workRejected(javax.resource.spi.work.WorkEvent e)
workRejected in interface javax.resource.spi.work.WorkListenerworkRejected in class CXFWorkAdapterApache CXF