|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ThreadPoolFactory
Factory for PooledExecutor
s.
Method Summary | |
---|---|
EDU.oswego.cs.dl.util.concurrent.PooledExecutor |
create(java.lang.String name,
EDU.oswego.cs.dl.util.concurrent.Channel channel,
int maxPoolSize)
Construct a new ThreadPool . |
EDU.oswego.cs.dl.util.concurrent.PooledExecutor |
create(java.lang.String name,
int maxPoolSize)
Construct a new PooledExecutor . |
Method Detail |
---|
EDU.oswego.cs.dl.util.concurrent.PooledExecutor create(java.lang.String name, int maxPoolSize)
PooledExecutor
.
name
- the name to assign the thread group and worker
threadsmaxPoolSize
- the maximum no. of threads to useEDU.oswego.cs.dl.util.concurrent.PooledExecutor create(java.lang.String name, EDU.oswego.cs.dl.util.concurrent.Channel channel, int maxPoolSize)
ThreadPool
.
name
- the name to assign the thread group and worker
threadschannel
- the channel for queueingmaxPoolSize
- the maximum no. of threads to use
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |