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
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 -
Method Summary
Methods inherited from class EDU.oswego.cs.dl.util.concurrent.ThreadFactoryUser
getThreadFactory, setThreadFactory
-
Constructor Details
-
ThreadedExecutor
public ThreadedExecutor()
-
-
Method Details
-
execute
Execute the given command in a new thread.- Specified by:
execute
in interfaceExecutor
- Throws:
InterruptedException
-