Package io.tarantool.driver.api.retry
Request retrying and network errors handling functionality.
-
Interface Summary Interface Description RequestRetryPolicy Request retry policy contains an algorithm of deciding whether an exception is retryable and settings for limiting the retry attemptsRequestRetryPolicyFactory Manages instantiation of request retry policies. -
Class Summary Class Description TarantoolRequestRetryPolicies Class-container for built-in request retry policiesTarantoolRequestRetryPolicies.AttemptsBoundRetryPolicy<T extends Predicate<Throwable>> Retry policy that accepts a maximum number of attempts and an exception checking predicate.TarantoolRequestRetryPolicies.AttemptsBoundRetryPolicyFactory<T extends Predicate<Throwable>> TarantoolRequestRetryPolicies.AttemptsBoundRetryPolicyFactory.Builder<T extends Predicate<Throwable>> TarantoolRequestRetryPolicies.InfiniteRetryPolicy<T extends Predicate<Throwable>> Retry policy that performs unbounded number of attempts.TarantoolRequestRetryPolicies.InfiniteRetryPolicyFactory<T extends Predicate<Throwable>> TarantoolRequestRetryPolicies.InfiniteRetryPolicyFactory.Builder<T extends Predicate<Throwable>>