public static class AsyncRetryStrategies.ExponentialBackoffDelayRetryStrategyBuilder<OUT> extends Object
Constructor and Description |
---|
ExponentialBackoffDelayRetryStrategyBuilder(int maxAttempts,
long initialDelay,
long maxRetryDelay,
double multiplier) |
Modifier and Type | Method and Description |
---|---|
AsyncRetryStrategies.ExponentialBackoffDelayRetryStrategy<OUT> |
build() |
AsyncRetryStrategies.ExponentialBackoffDelayRetryStrategyBuilder<OUT> |
ifException(Predicate<Throwable> exceptionRetryPredicate) |
AsyncRetryStrategies.ExponentialBackoffDelayRetryStrategyBuilder<OUT> |
ifResult(Predicate<Collection<OUT>> resultRetryPredicate) |
public ExponentialBackoffDelayRetryStrategyBuilder(int maxAttempts, long initialDelay, long maxRetryDelay, double multiplier)
public AsyncRetryStrategies.ExponentialBackoffDelayRetryStrategyBuilder<OUT> ifResult(@Nonnull Predicate<Collection<OUT>> resultRetryPredicate)
public AsyncRetryStrategies.ExponentialBackoffDelayRetryStrategyBuilder<OUT> ifException(@Nonnull Predicate<Throwable> exceptionRetryPredicate)
public AsyncRetryStrategies.ExponentialBackoffDelayRetryStrategy<OUT> build()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.