@PublicEvolving public interface AsyncRetryPredicate<OUT>
Modifier and Type | Method and Description |
---|---|
Optional<java.util.function.Predicate<Throwable>> |
exceptionPredicate()
An Optional Java that defines a condition on asyncFunction's exception which
will trigger a later reattempt operation, will be called before user's
ResultFuture#completeExceptionally.
|
Optional<java.util.function.Predicate<Collection<OUT>>> |
resultPredicate()
An Optional Java that defines a condition on asyncFunction's future result which
will trigger a later reattempt operation, will be called before user's ResultFuture#complete.
|
Optional<java.util.function.Predicate<Collection<OUT>>> resultPredicate()
Collection
Optional<java.util.function.Predicate<Throwable>> exceptionPredicate()
Throwable
exceptionCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.