Index
All Classes and Interfaces|All Packages|Serialized Form
T
- then(Success<? super T, ? extends R>) - Method in interface org.osgi.util.promise.Promise
-
Chain a new Promise to this Promise with a Success callback.
- then(Success<? super T, ? extends R>, Failure) - Method in interface org.osgi.util.promise.Promise
-
Chain a new Promise to this Promise with Success and Failure callbacks.
- thenAccept(Consumer<? super T>) - Method in interface org.osgi.util.promise.Promise
-
Chain a new Promise to this Promise with a Consumer callback that receives the value of this Promise when it is successfully resolved.
- timeout(long) - Method in interface org.osgi.util.promise.Promise
-
Time out the resolution of this Promise.
- TimeoutException - Exception in org.osgi.util.promise
-
Timeout exception for a Promise.
- TimeoutException() - Constructor for exception org.osgi.util.promise.TimeoutException
-
Create a new
TimeoutException. - toCompletionStage() - Method in interface org.osgi.util.promise.Promise
-
Returns a new CompletionStage that will be resolved with the result of this Promise.
- toPromise() - Method in class org.osgi.util.promise.PromiseFactory
-
Returns a
Collectorthat accumulates the results of the input Promises into a newPromiseFactory.all(Collection)Promise. - toString() - Method in class org.osgi.util.promise.Deferred
-
Returns a string representation of the associated Promise.
All Classes and Interfaces|All Packages|Serialized Form