public static class RetryPolicy.RetryPropertiesBuilder
extends java.lang.Object
Constructor and Description |
---|
RetryPropertiesBuilder() |
Modifier and Type | Method and Description |
---|---|
RetryPolicy |
build() |
static RetryPolicy.RetryPropertiesBuilder |
newBuilder() |
RetryPolicy.RetryPropertiesBuilder |
withCurrentRetryIndex(int currentRetryIndex) |
RetryPolicy.RetryPropertiesBuilder |
withDelayInSeconds(long delayInSeconds) |
RetryPolicy.RetryPropertiesBuilder |
withMaxRetries(int maxRetries) |
public static RetryPolicy.RetryPropertiesBuilder newBuilder()
public RetryPolicy.RetryPropertiesBuilder withMaxRetries(int maxRetries)
public RetryPolicy.RetryPropertiesBuilder withDelayInSeconds(long delayInSeconds)
public RetryPolicy.RetryPropertiesBuilder withCurrentRetryIndex(int currentRetryIndex)
public RetryPolicy build()