Uses of Class
org.forgerock.util.promise.Promises.IterateOverBuilder
-
Uses of Promises.IterateOverBuilder in org.forgerock.util.promise
Modifier and TypeMethodDescriptionPromises.IterateOverBuilder.continueOnFailure()
Configure whether the iteration should fail immediately on any failure, or should proceed to try the next element in sequence.Configure thePredicate
to match against when iterating.static <V,
E extends Exception>
Promises.IterateOverBuilder<V,E> Promises.iterateOver
(Iterable<AsyncSupplier<V, E>> promiseIterable) Configure anPromises.IterateOverBuilder
to iterate over anIterable
of promisesuppliers
in search of the first to match a givenpredicate
.static <V,
E extends Exception>
Promises.IterateOverBuilder<V,E> Promises.iterateOver
(Stream<AsyncSupplier<V, E>> promiseStream) Configure anPromises.IterateOverBuilder
to iterate over aStream
of promisesuppliers
in search of the first to match a givenpredicate
.