|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object EDU.oswego.cs.dl.util.concurrent.ThreadFactoryUser EDU.oswego.cs.dl.util.concurrent.ThreadedExecutor
public class ThreadedExecutor
An implementation of Executor that creates a new Thread that invokes the run method of the supplied command.
[ Introduction to this package. ]
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 | |
---|---|
ThreadedExecutor()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThreadedExecutor()
Method Detail |
---|
public void execute(java.lang.Runnable command) throws java.lang.InterruptedException
execute
in interface Executor
java.lang.InterruptedException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |