public class ThreadPool
extends java.lang.Object
| Constructor and Description |
|---|
ThreadPool(EDU.oswego.cs.dl.util.concurrent.PooledExecutor pool,
EDU.oswego.cs.dl.util.concurrent.Channel queue)
Create the wrapper.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(java.lang.Runnable run)
Delegates execution to the pooled executor.
|
EDU.oswego.cs.dl.util.concurrent.PooledExecutor |
getPool()
This is intended to give the client access to the PooledExecutor itself.
|
EDU.oswego.cs.dl.util.concurrent.Channel |
getQueue() |
public ThreadPool(EDU.oswego.cs.dl.util.concurrent.PooledExecutor pool,
EDU.oswego.cs.dl.util.concurrent.Channel queue)
pool - queue - public EDU.oswego.cs.dl.util.concurrent.PooledExecutor getPool()
public EDU.oswego.cs.dl.util.concurrent.Channel getQueue()
public void execute(java.lang.Runnable run)
throws java.lang.InterruptedException
run - java.lang.InterruptedExceptionCopyright © 2002-2013 Apache Software Foundation. All Rights Reserved.