Package EDU.oswego.cs.dl.util.concurrent
Class DirectExecutor
- java.lang.Object
-
- EDU.oswego.cs.dl.util.concurrent.DirectExecutor
-
-
Constructor Summary
Constructors Constructor Description DirectExecutor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(Runnable command)
Execute the given command directly in the current thread.
-
-
-
Method Detail
-
execute
public void execute(Runnable command) throws InterruptedException
Execute the given command directly in the current thread.- Specified by:
execute
in interfaceExecutor
- Throws:
InterruptedException
-
-