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>
AsyncRetryPredicate
public long getBackoffTimeMillis(int currentAttempts)
getBackoffTimeMillis
in interface AsyncRetryStrategy<OUT>
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.