|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jcs.utils.threadpool.ThreadPool
public class ThreadPool
This is simply a wrapper around the Pooled Excutor that allows clients to access the queue.
Constructor Summary | |
---|---|
ThreadPool(EDU.oswego.cs.dl.util.concurrent.PooledExecutor pool,
EDU.oswego.cs.dl.util.concurrent.Channel queue)
Create the wrapper. |
Method Summary | |
---|---|
void |
execute(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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThreadPool(EDU.oswego.cs.dl.util.concurrent.PooledExecutor pool, EDU.oswego.cs.dl.util.concurrent.Channel queue)
pool
- queue
- Method Detail |
---|
public EDU.oswego.cs.dl.util.concurrent.PooledExecutor getPool()
public EDU.oswego.cs.dl.util.concurrent.Channel getQueue()
public void execute(Runnable run) throws InterruptedException
run
-
InterruptedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |