Package | Description |
---|---|
io.picodata.driver.api |
Contains interfaces and classes essential for end-user driver API
|
io.picodata.driver.api.retry |
Request retrying and network errors handling functionality.
|
io.picodata.driver.core |
Driver core classes
|
Modifier and Type | Method and Description |
---|---|
<T extends Predicate<Throwable>> |
TarantoolClientConfigurator.withRetryingByNumberOfAttempts(int numberOfAttempts,
T exceptionsCheck,
UnaryOperator<TarantoolRequestRetryPolicies.AttemptsBoundRetryPolicyFactory.Builder<T>> policy)
Configure the attempts bound request retry policy.
|
<T extends Predicate<Throwable>> |
TarantoolClientConfigurator.withRetryingByNumberOfAttempts(int numberOfAttempts,
T exceptionsCheck,
UnaryOperator<TarantoolRequestRetryPolicies.AttemptsBoundRetryPolicyFactory.Builder<T>> policy,
Executor executor)
Configure the attempts bound request retry policy.
|
SELF |
TarantoolClientConfigurator.withRetryingByNumberOfAttempts(int numberOfAttempts,
UnaryOperator<TarantoolRequestRetryPolicies.AttemptsBoundRetryPolicyFactory.Builder<Predicate<Throwable>>> policy)
Configure the attempts bound request retry policy.
|
SELF |
TarantoolClientConfigurator.withRetryingByNumberOfAttempts(int numberOfAttempts,
UnaryOperator<TarantoolRequestRetryPolicies.AttemptsBoundRetryPolicyFactory.Builder<Predicate<Throwable>>> policy,
Executor executor)
Configure the attempts bound request retry policy.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Predicate<Throwable>> |
TarantoolRequestRetryPolicies.AttemptsBoundRetryPolicyFactory.builder(int attempts,
T exceptionCheck)
Create a builder for this factory
|
static TarantoolRequestRetryPolicies.AttemptsBoundRetryPolicyFactory.Builder<Predicate<Throwable>> |
TarantoolRequestRetryPolicies.byNumberOfAttempts(int numberOfAttempts)
Create a factory for retry policy bound by retry attempts.
|
static <T extends Predicate<Throwable>> |
TarantoolRequestRetryPolicies.byNumberOfAttempts(int numberOfAttempts,
T exceptionCheck)
Create a factory for retry policy bound by retry attempts
|
TarantoolRequestRetryPolicies.AttemptsBoundRetryPolicyFactory.Builder<T> |
TarantoolRequestRetryPolicies.AttemptsBoundRetryPolicyFactory.Builder.withDelay(long delay)
Set delay between attempts
|
TarantoolRequestRetryPolicies.AttemptsBoundRetryPolicyFactory.Builder<T> |
TarantoolRequestRetryPolicies.AttemptsBoundRetryPolicyFactory.Builder.withRequestTimeout(long requestTimeout)
Set timeout for each attempt
|
Copyright © 2025 Picodata. All rights reserved.