RetryPolicies.Builder |
RetryPolicies.Builder.callTimeout(Duration callTimeout) |
Sets a limit for each invocation.
|
static RetryPolicies.Builder |
RetryPolicies.Builder.create(Config metaConfig) |
Initializes retry policy instance from configuration properties.
|
RetryPolicies.Builder |
RetryPolicies.Builder.delay(Duration delay) |
Sets an initial delay between invocations, that is repeatedly multiplied by delayFactor .
|
RetryPolicies.Builder |
RetryPolicies.Builder.delayFactor(double delayFactor) |
Sets a factor that prolongs the delay for an every new execute.
|
RetryPolicies.Builder |
RetryPolicies.Builder.executor(ScheduledExecutorService executorService) |
Sets a custom executor used to invoke a method call.
|
RetryPolicies.Builder |
RetryPolicies.Builder.overallTimeout(Duration overallTimeout) |
Sets a overall limit for all invocation, including delays.
|
static RetryPolicies.Builder |
RetryPolicies.repeat(int retries) |
|