Package 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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class EDU.oswego.cs.dl.util.concurrent.ThreadFactoryUser
ThreadFactoryUser.DefaultThreadFactory
-
-
Field Summary
-
Fields inherited from class EDU.oswego.cs.dl.util.concurrent.ThreadFactoryUser
threadFactory_
-
-
Constructor Summary
Constructors Constructor Description ThreadedExecutor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(java.lang.Runnable command)
Execute the given command in a new thread.-
Methods inherited from class EDU.oswego.cs.dl.util.concurrent.ThreadFactoryUser
getThreadFactory, setThreadFactory
-
-