net.larsan.urd.util
Interface Executor
- All Known Implementing Classes:
- ThreadPool
- public interface Executor
The executor is a simple interface with one method, the execute method. This
interface might be use to transparently hide thread creation from modules.
- Version:
- Alpha-0.1 / 2002-10-06 21:37
- Author:
- Lars J. Nilsson
|
Method Summary |
void |
execute(java.lang.Runnable target)
Execute a runnable target. |
execute
public void execute(java.lang.Runnable target)
- Execute a runnable target. The target might be executed on a new
thread or queued in a pool.
- Parameters:
target - Runnable to execute, must not be null