org.apache.avalon.excalibur.thread
Interface ThreadPool

All Superinterfaces:
ThreadPool
All Known Implementing Classes:
DefaultThreadPool, ResourceLimitingThreadPool

Deprecated. Replaced with org.apache.excalibur.thread.ThreadPool

public interface ThreadPool
extends ThreadPool

This class is the public frontend for the thread pool code.

Author:
Avalon Development Team, Peter Donald

Method Summary
 ThreadControl execute(Executable work)
          Deprecated. Run work in separate thread.
 
Methods inherited from interface org.apache.excalibur.thread.ThreadPool
execute, execute
 

Method Detail

execute

public ThreadControl execute(Executable work)
Deprecated. 
Run work in separate thread. Return a valid ThreadControl to control work thread.

Parameters:
work - the work to be executed.
Returns:
the ThreadControl


Copyright © 2000-2003 Apache Jakarta Project. All Rights Reserved.