Package org.osgi.util.promise
@Version("1.1")
package org.osgi.util.promise
Promise Package Version 1.1.
Bundles wishing to use this package must list the package in the Import-Package header of the bundle's manifest.
Example import for consumers using the API in this package:
Import-Package: org.osgi.util.promise; version="[1.1,2.0)"
Example import for providers implementing the API in this package:
Import-Package: org.osgi.util.promise; version="[1.1,1.2)"
-
ClassDescriptionDeferred<T>A Deferred Promise resolution.Deferred Promise implementation.Failed Promise implementation.Promise failure exception for a collection of failed Promises.Failure callback for a Promise.Promise<T>A Promise of a value.Promise factory to create Deferred and Promise objects.PromiseFactory.All<T,
S extends T> A callback used to resolve the specified Promise when the specified list of Promises are resolved for thePromiseFactory.all(Collection)
method.Default executors for Promises.ScheduledThreadPoolExecutor for scheduled execution.An Executor implementation which executes the task immediately on the thread calling theExecutor.execute
method.PromiseImpl<T>Abstract Promise implementation.A holder of the result of a Promise.Static helper methods forPromise
s.Resolved Promise implementation.Success<T,R> Success callback for a Promise.Timeout exception for a Promise.