Uses of Interface
org.forgerock.util.Supplier
Packages that use Supplier
Package
Description
APIs for implementing lightweight REST to LDAP gateways.
Provides common interfaces and classes.
An implementation of the
Promise API in Java.-
Uses of Supplier in org.forgerock.opendj.hdap
Methods in org.forgerock.opendj.hdap with parameters of type SupplierModifier and TypeMethodDescriptionPromise<org.forgerock.http.oauth2.AccessTokenInfo, org.forgerock.http.oauth2.AccessTokenException> BoundedCachingAccessTokenResolver.resolve(org.forgerock.services.context.Context context, Supplier<org.forgerock.http.protocol.Request, IOException> request, String token) -
Uses of Supplier in org.forgerock.util
Classes in org.forgerock.util that implement SupplierModifier and TypeClassDescriptionfinal classLazySupplier<T, E extends Exception>ASupplierthat 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 SupplierModifier 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
Methods in org.forgerock.util.promise with parameters of type SupplierModifier and TypeMethodDescriptionPromises.executeAsync(Executor executor, Supplier<T, E> supplier) Execute the provided supplier through the executor and returns immediately aPromisethat will be completed once the supplier has been executed.Promises.newPromise(Supplier<V, E> supplier) Execute a task and return the result as aPromise.