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