Package org.osgi.util.promise
Class DeferredPromiseImpl.Timeout
java.lang.Object
org.osgi.util.promise.DeferredPromiseImpl.Timeout
- All Implemented Interfaces:
Runnable
- Enclosing class:
DeferredPromiseImpl<T>
A callback used by the
PromiseImpl.timeout(long)
method to
schedule the timeout and to resolve the chained Promise and cancel the
timeout.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
promise
-
future
-
-
Constructor Details
-
Timeout
Timeout(PromiseImpl<T> promise, long millis)
-
-
Method Details