public final class RetryExponential extends RetryPolicy
ConnectionStringBuilder.
RetryIntervals will be computed using a retryFactor which is a function of deltaBackOff (MaximumBackoff - MinimumBackoff) and MaximumRetryCount| Constructor and Description |
|---|
RetryExponential(Duration minimumBackoff,
Duration maximumBackoff,
int maximumRetryCount,
String name) |
| Modifier and Type | Method and Description |
|---|---|
protected Duration |
onGetNextRetryInterval(String clientId,
Exception lastException,
Duration remainingTime,
int baseWaitTimeSecs) |
getDefault, getNextRetryInterval, getNoRetry, getRetryCount, incrementRetryCount, isRetryableException, resetRetryCount, toStringprotected Duration onGetNextRetryInterval(String clientId, Exception lastException, Duration remainingTime, int baseWaitTimeSecs)
onGetNextRetryInterval in class RetryPolicyCopyright © 2019. All rights reserved.