Package org.osgi.util.promise
Class PromiseFactory.InlineExecutor
- java.lang.Object
-
- org.osgi.util.promise.PromiseFactory.InlineExecutor
-
- All Implemented Interfaces:
java.util.concurrent.Executor
- Enclosing class:
- PromiseFactory
private static final class PromiseFactory.InlineExecutor extends java.lang.Object implements java.util.concurrent.Executor
An Executor implementation which executes the task immediately on the thread calling theExecutor.execute
method.
-
-
Constructor Summary
Constructors Constructor Description InlineExecutor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(java.lang.Runnable callback)
-