org.exolab.jms.common.threads
Interface ThreadPoolFactory
- All Known Implementing Classes:
- DefaultThreadPoolFactory
- public interface ThreadPoolFactory
Factory for PooledExecutors.
- Version:
- $Revision: 1.1 $ $Date: 2006/02/23 11:07:05 $
- Author:
- Tim Anderson
|
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. |
create
public EDU.oswego.cs.dl.util.concurrent.PooledExecutor create(java.lang.String name,
int maxPoolSize)
- Construct a new
PooledExecutor.
- Parameters:
name - the name to assign the thread group and worker
threadsmaxPoolSize - the maximum no. of threads to use
create
public 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.
- Parameters:
name - the name to assign the thread group and worker
threadschannel - the channel for queueingmaxPoolSize - the maximum no. of threads to use
Copyright © 1999-2007 The OpenJMS Group. All Rights Reserved.