public static final class RetryOptions.Builder
extends java.lang.Object
RetryOptions
.Modifier and Type | Method and Description |
---|---|
static RetryOptions |
withDefaults()
Returns default
RetryOptions . |
static RetryOptions |
withMaxBackoffSeconds(double maxBackoffSeconds)
Returns default
RetryOptions and calls
RetryOptions.maxBackoffSeconds(double) . |
static RetryOptions |
withMaxDoublings(int maxDoublings)
Returns default
RetryOptions and calls RetryOptions.maxDoublings(int) . |
static RetryOptions |
withMinBackoffSeconds(double minBackoffSeconds)
Returns default
RetryOptions and calls
RetryOptions.minBackoffSeconds(double) . |
static RetryOptions |
withTaskAgeLimitSeconds(long taskAgeLimitSeconds)
Returns default
RetryOptions and calls
RetryOptions.taskAgeLimitSeconds(long) . |
static RetryOptions |
withTaskRetryLimit(int taskRetryLimit)
Returns default
RetryOptions and calls RetryOptions.taskRetryLimit(int) . |
public static RetryOptions withTaskRetryLimit(int taskRetryLimit)
RetryOptions
and calls RetryOptions.taskRetryLimit(int)
.public static RetryOptions withTaskAgeLimitSeconds(long taskAgeLimitSeconds)
RetryOptions
and calls
RetryOptions.taskAgeLimitSeconds(long)
.public static RetryOptions withMinBackoffSeconds(double minBackoffSeconds)
RetryOptions
and calls
RetryOptions.minBackoffSeconds(double)
.public static RetryOptions withMaxBackoffSeconds(double maxBackoffSeconds)
RetryOptions
and calls
RetryOptions.maxBackoffSeconds(double)
.public static RetryOptions withMaxDoublings(int maxDoublings)
RetryOptions
and calls RetryOptions.maxDoublings(int)
.public static RetryOptions withDefaults()
RetryOptions
.