Uses of Interface
dev.failsafe.function.CheckedBiPredicate
Packages that use CheckedBiPredicate
-
Uses of CheckedBiPredicate in dev.failsafe
Fields in dev.failsafe with type parameters of type CheckedBiPredicateModifier and TypeFieldDescription(package private) List
<CheckedBiPredicate<R, Throwable>> RetryPolicyConfig.abortConditions
(package private) List
<CheckedBiPredicate<R, Throwable>> FailurePolicyConfig.failureConditions
Conditions that determine whether an execution is a failureMethods in dev.failsafe that return CheckedBiPredicateModifier and TypeMethodDescription(package private) static <R> CheckedBiPredicate
<R, Throwable> FailurePolicyBuilder.failurePredicateFor
(CheckedPredicate<? extends Throwable> failurePredicate) Returns a predicate that evaluates thefailurePredicate
against a failure.(package private) static <R> CheckedBiPredicate
<R, Throwable> FailurePolicyBuilder.failurePredicateFor
(List<Class<? extends Throwable>> failures) Returns a predicate that returns whether any of thefailures
are assignable from an execution failure.(package private) static <R> CheckedBiPredicate
<R, Throwable> FailurePolicyBuilder.resultPredicateFor
(CheckedPredicate<R> resultPredicate) Returns a predicate that evaluates theresultPredicate
against a result, when present.(package private) static <R> CheckedBiPredicate
<R, Throwable> FailurePolicyBuilder.resultPredicateFor
(R result) Returns a predicate that evaluates whether theresult
equals an execution result.Methods in dev.failsafe that return types with arguments of type CheckedBiPredicateModifier and TypeMethodDescriptionRetryPolicyConfig.getAbortConditions()
Returns the conditions for which an execution result or exception will cause retries to be aborted.FailurePolicyConfig.getFailureConditions()
Returns the conditions under which a result or Throwable should be treated as a failure and handled.Methods in dev.failsafe with parameters of type CheckedBiPredicateModifier and TypeMethodDescriptionRetryPolicyBuilder.abortIf
(CheckedBiPredicate<R, ? extends Throwable> completionPredicate) Specifies that retries should be aborted if thecompletionPredicate
matches the completion result.FailurePolicyBuilder.handleIf
(CheckedBiPredicate<R, ? extends Throwable> resultPredicate) Specifies that a failure has occurred if theresultPredicate
matches the execution result.