public static class ExponentialBackOffRetryStrategy.Config extends java.lang.Object implements RetryStrategy.Instantiator
| Constructor and Description |
|---|
Config() |
| Modifier and Type | Method and Description |
|---|---|
ExponentialBackOffRetryStrategy |
createInstance() |
RetryStrategy.Config |
getBaseConfig() |
int |
getBaseIntervalMillis() |
int |
getMaxIntervalMillis() |
int |
getMaxRetryCount() |
ExponentialBackOffRetryStrategy.Config |
setBaseIntervalMillis(int baseIntervalMillis) |
ExponentialBackOffRetryStrategy.Config |
setMaxIntervalMillis(int maxIntervalMillis) |
ExponentialBackOffRetryStrategy.Config |
setMaxRetryCount(int maxRetryCount) |
java.lang.String |
toString() |
public RetryStrategy.Config getBaseConfig()
public int getMaxRetryCount()
public ExponentialBackOffRetryStrategy.Config setMaxRetryCount(int maxRetryCount)
public int getBaseIntervalMillis()
public ExponentialBackOffRetryStrategy.Config setBaseIntervalMillis(int baseIntervalMillis)
public int getMaxIntervalMillis()
public ExponentialBackOffRetryStrategy.Config setMaxIntervalMillis(int maxIntervalMillis)
public java.lang.String toString()
toString in class java.lang.Objectpublic ExponentialBackOffRetryStrategy createInstance()
createInstance in interface RetryStrategy.Instantiator