public class DirectExecutor extends java.lang.Object implements java.util.concurrent.Executor
java.util.Executorreference and instantiate the appropriate executor subclass which performs either synchronous or asynchronous execution. The application can switch between different task execution styles without changing how it uses the
(Aside: this class should be in java.util.concurrent to provide a complete Executor implementation suite but is not part of the standard Java class library. Hence it being part of the eBus library).
|Constructor and Description|
Creates a new instance of DirectExecutor.
|Modifier and Type||Method and Description|
Immediately executes the task in the current thread.