Uses of Interface
org.forgerock.util.promise.ResultHandler
Packages that use ResultHandler
-
Uses of ResultHandler in org.forgerock.util.promise
Classes in org.forgerock.util.promise that implement ResultHandlerModifier and TypeClassDescriptionclassPromiseImpl<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 parameters of type ResultHandlerModifier and TypeMethodDescriptionPromise.thenOnResult(ResultHandler<? super V> onResult) Registers the provided completion handler for notification once thisPromisehas completed with a result.PromiseImpl.thenOnResult(ResultHandler<? super V> onResult) 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).PromiseImpl.thenOnResultOrException(ResultHandler<? super V> onResult, ExceptionHandler<? super E> onException)