org.apache.avalon.cornerstone.services.threads
Interface ThreadManager
- All Known Implementing Classes:
- AbstractThreadManager
- public interface ThreadManager
Manage a set of ThreadPools.
- Version:
- $Revision: 1.1 $ $Date: 2004/03/15 13:06:46 $
- Author:
- Avalon Development Team
Field Summary |
static java.lang.String |
ROLE
|
ROLE
public static final java.lang.String ROLE
getThreadPool
public ThreadPool getThreadPool(java.lang.String name)
throws java.lang.IllegalArgumentException
- Retrieve a thread pool by name.
- Parameters:
name
- the name of thread pool
- Returns:
- the threadpool
- Throws:
java.lang.IllegalArgumentException
- if the name of thread pool is
invalid or named pool does not exist
getDefaultThreadPool
public ThreadPool getDefaultThreadPool()
- Retrieve the default thread pool.
- Returns:
- the thread pool
Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.