org.apache.excalibur.event.command
Class DefaultThreadManager
java.lang.Object
|
+--org.apache.avalon.framework.logger.AbstractLogEnabled
|
+--org.apache.excalibur.event.command.AbstractThreadManager
|
+--org.apache.excalibur.event.command.DefaultThreadManager
- All Implemented Interfaces:
- Disposable, Initializable, LogEnabled, Runnable, ThreadManager
- public class DefaultThreadManager
- extends AbstractThreadManager
A ThreadManager that will use an external ThreadPool. This will be useful
if you want to have several ThreadManagers talking to a commonly defined
set of ThreadPools, such as
Cornerstone's
(similarly named) ThreadManager (which manages ThreadPools).
- Author:
- Peter Royal
- See Also:
org.apache.avalon.cornerstone.services.thread.ThreadManager
Constructor Summary |
DefaultThreadManager(EDU.oswego.cs.dl.util.concurrent.Executor executor)
Create a new ThreadManager with the associated ThreadPool. |
Methods inherited from class org.apache.excalibur.event.command.AbstractThreadManager |
deregister, deregisterAll, dispose, doDispose, getSleepTime, initialize, isInitialized, register, run, setExecutor, setSleepTime |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultThreadManager
public DefaultThreadManager(EDU.oswego.cs.dl.util.concurrent.Executor executor)
- Create a new ThreadManager with the associated ThreadPool.
Copyright © 2002 Apache Avalon Project. All Rights Reserved.