A C D F G I M O P R S T 

A

all(Collection<Promise<S>>) - Static method in class org.osgi.util.promise.Promises
Create a new Promise that is a latch on the resolution of the specified Promises.
all(Promise<? extends T>...) - Static method in class org.osgi.util.promise.Promises
Create a new Promise that is a latch on the resolution of the specified Promises.
apply(T) - Method in interface org.osgi.util.function.Function
Applies this function to the specified argument.

C

call(Promise<T>) - Method in interface org.osgi.util.promise.Success
Success callback for a Promise.

D

Deferred<T> - Class in org.osgi.util.promise
A Deferred Promise resolution.
Deferred() - Constructor for class org.osgi.util.promise.Deferred
Create a new Deferred with an associated Promise.

F

fail(Throwable) - Method in class org.apache.aries.async.promise.PromiseImpl
 
fail(Throwable) - Method in class org.osgi.util.promise.Deferred
Fail the Promise associated with this Deferred.
fail(Promise<?>) - Method in interface org.osgi.util.promise.Failure
Failure callback for a Promise.
failed(Throwable) - Static method in class org.osgi.util.promise.Promises
Create a new Promise that has been resolved with the specified failure.
FailedPromisesException - Exception in org.osgi.util.promise
Promise failure exception for a collection of failed Promises.
FailedPromisesException(Collection<Promise<?>>) - Constructor for exception org.osgi.util.promise.FailedPromisesException
Create a new FailedPromisesException with the specified Promises.
FailedPromisesException(Collection<Promise<?>>, Throwable) - Constructor for exception org.osgi.util.promise.FailedPromisesException
Create a new FailedPromisesException with the specified Promises.
Failure - Interface in org.osgi.util.promise
Failure callback for a Promise.
fallbackTo(Promise<? extends T>) - Method in class org.apache.aries.async.promise.PromiseImpl
 
fallbackTo(Promise<? extends T>) - Method in interface org.osgi.util.promise.Promise
Fall back to the value of the specified Promise if this Promise fails.
filter(Predicate<? super T>) - Method in class org.apache.aries.async.promise.PromiseImpl
 
filter(Predicate<? super T>) - Method in interface org.osgi.util.promise.Promise
Filter the value of this Promise.
flatMap(Function<? super T, Promise<? extends R>>) - Method in class org.apache.aries.async.promise.PromiseImpl
 
flatMap(Function<? super T, Promise<? extends R>>) - Method in interface org.osgi.util.promise.Promise
FlatMap the value of this Promise.
Function<T,R> - Interface in org.osgi.util.function
A function that accepts a single argument and produces a result.

G

getFailedPromises() - Method in exception org.osgi.util.promise.FailedPromisesException
Returns the collection of Promises that have been resolved with a failure.
getFailure() - Method in class org.apache.aries.async.promise.PromiseImpl
 
getFailure() - Method in interface org.osgi.util.promise.Promise
Returns the failure of this Promise.
getPromise() - Method in class org.osgi.util.promise.Deferred
Returns the Promise associated with this Deferred.
getValue() - Method in class org.apache.aries.async.promise.PromiseImpl
 
getValue() - Method in interface org.osgi.util.promise.Promise
Returns the value of this Promise.

I

isDone() - Method in class org.apache.aries.async.promise.PromiseImpl
 
isDone() - Method in interface org.osgi.util.promise.Promise
Returns whether this Promise has been resolved.

M

map(Function<? super T, ? extends R>) - Method in class org.apache.aries.async.promise.PromiseImpl
 
map(Function<? super T, ? extends R>) - Method in interface org.osgi.util.promise.Promise
Map the value of this Promise.

O

onResolve(Runnable) - Method in class org.apache.aries.async.promise.PromiseImpl
 
onResolve(Runnable) - Method in interface org.osgi.util.promise.Promise
Register a callback to be called when this Promise is resolved.
org.apache.aries.async.promise - package org.apache.aries.async.promise
 
org.osgi.util.function - package org.osgi.util.function
 
org.osgi.util.promise - package org.osgi.util.promise
 

P

Predicate<T> - Interface in org.osgi.util.function
A predicate that accepts a single argument and produces a boolean result.
Promise<T> - Interface in org.osgi.util.promise
A Promise of a value.
PromiseImpl<T> - Class in org.apache.aries.async.promise
 
PromiseImpl() - Constructor for class org.apache.aries.async.promise.PromiseImpl
 
Promises - Class in org.osgi.util.promise
Static helper methods for Promises.
Promises() - Constructor for class org.osgi.util.promise.Promises
 

R

recover(Function<Promise<?>, ? extends T>) - Method in class org.apache.aries.async.promise.PromiseImpl
 
recover(Function<Promise<?>, ? extends T>) - Method in interface org.osgi.util.promise.Promise
Recover from a failure of this Promise with a recovery value.
recoverWith(Function<Promise<?>, Promise<? extends T>>) - Method in class org.apache.aries.async.promise.PromiseImpl
 
recoverWith(Function<Promise<?>, Promise<? extends T>>) - Method in interface org.osgi.util.promise.Promise
Recover from a failure of this Promise with a recovery Promise.
resolve(T) - Method in class org.apache.aries.async.promise.PromiseImpl
 
resolve(T) - Method in class org.osgi.util.promise.Deferred
Successfully resolve the Promise associated with this Deferred.
resolved(T) - Static method in class org.osgi.util.promise.Promises
Create a new Promise that has been resolved with the specified value.
resolveWith(Promise<? extends T>) - Method in class org.apache.aries.async.promise.PromiseImpl
 
resolveWith(Promise<? extends T>) - Method in class org.osgi.util.promise.Deferred
Resolve the Promise associated with this Deferred with the specified Promise.

S

Success<T,R> - Interface in org.osgi.util.promise
Success callback for a Promise.

T

test(T) - Method in interface org.osgi.util.function.Predicate
Evaluates this predicate on the specified argument.
then(Success<? super T, ? extends R>, Failure) - Method in class org.apache.aries.async.promise.PromiseImpl
 
then(Success<? super T, ? extends R>) - Method in class org.apache.aries.async.promise.PromiseImpl
 
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.
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.
A C D F G I M O P R S T 

Copyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.