Uses of Interface
org.forgerock.util.Supplier
Package
Description
Provides common interfaces and classes.
An implementation of the
Promise
API in Java.-
Uses of Supplier in org.forgerock.util
Modifier and TypeClassDescriptionfinal class
LazySupplier<T,
E extends Exception> ASupplier
that lazily computes a value the first time it is accessed and then caches the result to return on subsequent requests.Modifier and TypeMethodDescriptionstatic <T,
E extends Exception>
LazySupplier<T,E> Constructs a supplier that will lazily compute and cache a value from the given supplier.LambdaExceptionUtils.rethrowSupplier
(Supplier<T, E> supplier) -
Uses of Supplier in org.forgerock.util.promise
Modifier and TypeMethodDescriptionPromises.executeAsync
(Executor executor, Supplier<T, E> supplier) Execute the provided supplier through the executor and returns immediately aPromise
that will be completed once the supplier has been executed.Promises.newPromise
(Supplier<V, E> supplier) Execute a task and return the result as aPromise
.