public final class RetryParameters
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
double |
backoffCoefficient |
int |
expirationIntervalInSeconds |
int |
initialIntervalInSeconds |
int |
maximumAttempts |
int |
maximumIntervalInSeconds |
java.util.List<java.lang.String> |
nonRetriableErrorReasons |
Constructor and Description |
---|
RetryParameters() |
RetryParameters(RetryOptions retryOptions) |
Modifier and Type | Method and Description |
---|---|
RetryParameters |
copy() |
double |
getBackoffCoefficient() |
int |
getExpirationIntervalInSeconds() |
int |
getInitialIntervalInSeconds() |
int |
getMaximumAttempts() |
int |
getMaximumIntervalInSeconds() |
java.util.List<java.lang.String> |
getNonRetriableErrorReasons() |
void |
setBackoffCoefficient(double backoffCoefficient) |
void |
setExpirationIntervalInSeconds(int expirationIntervalInSeconds) |
void |
setInitialIntervalInSeconds(int initialIntervalInSeconds) |
void |
setMaximumAttempts(int maximumAttempts) |
void |
setMaximumIntervalInSeconds(int maximumIntervalInSeconds) |
void |
setNonRetriableErrorReasons(java.util.List<java.lang.String> nonRetriableErrorReasons) |
RetryPolicy |
toRetryPolicy() |
java.lang.String |
toString() |
public int initialIntervalInSeconds
public double backoffCoefficient
public int maximumIntervalInSeconds
public int maximumAttempts
public java.util.List<java.lang.String> nonRetriableErrorReasons
public int expirationIntervalInSeconds
public RetryParameters(RetryOptions retryOptions)
public RetryParameters()
public int getInitialIntervalInSeconds()
public void setInitialIntervalInSeconds(int initialIntervalInSeconds)
public double getBackoffCoefficient()
public void setBackoffCoefficient(double backoffCoefficient)
public int getMaximumIntervalInSeconds()
public void setMaximumIntervalInSeconds(int maximumIntervalInSeconds)
public int getMaximumAttempts()
public void setMaximumAttempts(int maximumAttempts)
public java.util.List<java.lang.String> getNonRetriableErrorReasons()
public void setNonRetriableErrorReasons(java.util.List<java.lang.String> nonRetriableErrorReasons)
public int getExpirationIntervalInSeconds()
public void setExpirationIntervalInSeconds(int expirationIntervalInSeconds)
public RetryParameters copy()
public RetryPolicy toRetryPolicy()
public java.lang.String toString()
toString
in class java.lang.Object