edu.oswego.cs.dl.util.concurrent
Class ThreadedExecutor
java.lang.Object
|
+--edu.oswego.cs.dl.util.concurrent.ThreadFactoryUser
|
+--edu.oswego.cs.dl.util.concurrent.ThreadedExecutor
- All Implemented Interfaces:
- Executor
- public class ThreadedExecutor
- extends ThreadFactoryUser
- implements Executor
An implementation of Executor that creates a new
Thread that invokes the run method of the supplied command.
[ Introduction to this package. ]
Method Summary |
void |
execute(Runnable command)
Execute the given command in a new thread. |
ThreadedExecutor
public ThreadedExecutor()
execute
public void execute(Runnable command)
throws InterruptedException
- Execute the given command in a new thread.
- Specified by:
execute
in interface Executor
Submit a bug or feature. Check the Colt home page for the latest news.