public class RetryPolicy
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RetryPolicy.RetryPropertiesBuilder |
Constructor and Description |
---|
RetryPolicy() |
Modifier and Type | Method and Description |
---|---|
int |
getCurrentRetryIndex() |
long |
getDelayInSeconds() |
int |
getMaxRetries() |
java.lang.Boolean |
isErrorRetryCompleted() |
void |
setCurrentRetryIndex(int currentRetryIndex) |
void |
setDelayInSeconds(long delayInSeconds) |
void |
setMaxRetries(int maxRetries) |
java.lang.String |
toString() |
public int getMaxRetries()
public void setMaxRetries(int maxRetries)
public long getDelayInSeconds()
public void setDelayInSeconds(long delayInSeconds)
public int getCurrentRetryIndex()
public void setCurrentRetryIndex(int currentRetryIndex)
public java.lang.Boolean isErrorRetryCompleted()
public java.lang.String toString()
toString
in class java.lang.Object