Uses of Interface
org.forgerock.util.promise.ResultHandler
-
Packages that use ResultHandler Package Description org.forgerock.openig.util Miscellaneous utility classes.org.forgerock.util.promise An implementation of thePromiseAPI in Java. -
-
Uses of ResultHandler in org.forgerock.openig.util
Methods in org.forgerock.openig.util that return ResultHandler Modifier and Type Method Description static <T> ResultHandler<T>PromiseUtil. consumeIfPresent(Consumer<T> consumer)Execute the consumer if result is not null. -
Uses of ResultHandler in org.forgerock.util.promise
Classes in org.forgerock.util.promise that implement ResultHandler Modifier and Type Class Description classPromiseImpl<V,E extends Exception>An implementation ofPromisewhich can be used as is, or as the basis for more complex asynchronous behavior.Methods in org.forgerock.util.promise with type parameters of type ResultHandler Modifier and Type Method Description <T extends ResultHandler<? super V> & ExceptionHandler<? super E> & RuntimeExceptionHandler>
Promise<V,E>Promise. thenOnCompletion(T handler)Registers the provided completion handler for notification for all completion cases of thisPromise.<T extends ResultHandler<? super V> & ExceptionHandler<? super E> & RuntimeExceptionHandler>
Promise<V,E>PromiseImpl. thenOnCompletion(T handler)Methods in org.forgerock.util.promise with parameters of type ResultHandler Modifier and Type Method Description Promise<V,E>Promise. thenOnResult(ResultHandler<? super V> onResult)Registers the provided completion handler for notification once thisPromisehas completed with a result.Promise<V,E>PromiseImpl. thenOnResult(ResultHandler<? super V> onResult)Promise<V,E>Promise. thenOnResultOrException(ResultHandler<? super V> onResult, ExceptionHandler<? super E> onException)Registers the provided completion handlers for notification once thisPromisehas completed (with a result or an exception).Promise<V,E>PromiseImpl. thenOnResultOrException(ResultHandler<? super V> onResult, ExceptionHandler<? super E> onException)
-