public class NoRetry extends java.lang.Object implements RetryPolicy
| Constructor and Description |
|---|
NoRetry() |
| Modifier and Type | Method and Description |
|---|---|
RetryDecision |
getRetryDecision(int currentRetryCount,
TransportException lastException)
Always says to not retry.
|
public RetryDecision getRetryDecision(int currentRetryCount, TransportException lastException)
getRetryDecision in interface RetryPolicycurrentRetryCount - the number of retries for the given operationlastException - the last exception encounteredCopyright © 2023. All rights reserved.