public static class AsyncRetryStrategies.FixedDelayRetryStrategy<OUT> extends Object implements AsyncRetryStrategy<OUT>
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRetry(int currentAttempts) |
long |
getBackoffTimeMillis(int currentAttempts) |
AsyncRetryPredicate<OUT> |
getRetryPredicate() |
public boolean canRetry(int currentAttempts)
canRetry in interface AsyncRetryStrategy<OUT>public AsyncRetryPredicate<OUT> getRetryPredicate()
getRetryPredicate in interface AsyncRetryStrategy<OUT>AsyncRetryPredicatepublic long getBackoffTimeMillis(int currentAttempts)
getBackoffTimeMillis in interface AsyncRetryStrategy<OUT>Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.