org.apache.excalibur.event.command
Class DefaultThreadManager

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.apache.excalibur.event.command.AbstractThreadManager
          extended byorg.apache.excalibur.event.command.DefaultThreadManager
All Implemented Interfaces:
Disposable, Initializable, LogEnabled, java.lang.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:
Avalon Development Team
See Also:
org.apache.avalon.cornerstone.services.thread.ThreadManager

Nested Class Summary
 
Nested classes inherited from class org.apache.excalibur.event.command.AbstractThreadManager
AbstractThreadManager.PipelineRunner
 
Field Summary
 
Fields inherited from interface org.apache.excalibur.event.command.ThreadManager
ROLE
 
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 org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultThreadManager

public DefaultThreadManager(EDU.oswego.cs.dl.util.concurrent.Executor executor)
Create a new ThreadManager with the associated ThreadPool.



Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.