Uses of Interface
org.forgerock.util.promise.RuntimeExceptionHandler
-
Packages that use RuntimeExceptionHandler Package Description org.forgerock.util.promise An implementation of thePromise
API in Java. -
-
Uses of RuntimeExceptionHandler in org.forgerock.util.promise
Classes in org.forgerock.util.promise that implement RuntimeExceptionHandler Modifier and Type Class Description class
PromiseImpl<V,E extends Exception>
An implementation ofPromise
which 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 RuntimeExceptionHandler 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 RuntimeExceptionHandler Modifier and Type Method Description Promise<V,E>
Promise. thenOnRuntimeException(RuntimeExceptionHandler onRuntimeException)
Registers the provided completion handler for notification if thisPromise
cannot be completed due to an runtime exception.Promise<V,E>
PromiseImpl. thenOnRuntimeException(RuntimeExceptionHandler onRuntimeException)
-