Uses of Interface
org.forgerock.util.Supplier
-
Packages that use Supplier Package Description org.forgerock.util Provides common interfaces and classes.org.forgerock.util.promise An implementation of thePromise
API in Java. -
-
Uses of Supplier in org.forgerock.util
Classes in org.forgerock.util that implement Supplier Modifier and Type Class Description 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.Methods in org.forgerock.util with parameters of type Supplier Modifier and Type Method Description static <T,E extends Exception>
LazySupplier<T,E>LazySupplier. lazy(Supplier<T,E> supplier)
Constructs a supplier that will lazily compute and cache a value from the given supplier.static <T,E extends Exception>
Supplier<T>LambdaExceptionUtils. rethrowSupplier(Supplier<T,E> supplier)
-
Uses of Supplier in org.forgerock.util.promise
Methods in org.forgerock.util.promise with parameters of type Supplier Modifier and Type Method Description static <T,E extends Exception>
Promise<T,E>Promises. 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.static <V,E extends Exception>
Promise<V,E>Promises. newPromise(Supplier<V,E> supplier)
Execute a task and return the result as aPromise
.
-