Class RetryOptions.Builder
java.lang.Object
com.google.appengine.api.taskqueue.RetryOptions.Builder
- Enclosing class:
RetryOptions
Provides static creation methods for
RetryOptions
.-
Method Summary
Modifier and TypeMethodDescriptionstatic RetryOptions
Returns defaultRetryOptions
.static RetryOptions
withMaxBackoffSeconds
(double maxBackoffSeconds) Returns defaultRetryOptions
and callsRetryOptions.maxBackoffSeconds(double)
.static RetryOptions
withMaxDoublings
(int maxDoublings) Returns defaultRetryOptions
and callsRetryOptions.maxDoublings(int)
.static RetryOptions
withMinBackoffSeconds
(double minBackoffSeconds) Returns defaultRetryOptions
and callsRetryOptions.minBackoffSeconds(double)
.static RetryOptions
withTaskAgeLimitSeconds
(long taskAgeLimitSeconds) Returns defaultRetryOptions
and callsRetryOptions.taskAgeLimitSeconds(long)
.static RetryOptions
withTaskRetryLimit
(int taskRetryLimit) Returns defaultRetryOptions
and callsRetryOptions.taskRetryLimit(int)
.
-
Method Details
-
withTaskRetryLimit
Returns defaultRetryOptions
and callsRetryOptions.taskRetryLimit(int)
. -
withTaskAgeLimitSeconds
Returns defaultRetryOptions
and callsRetryOptions.taskAgeLimitSeconds(long)
. -
withMinBackoffSeconds
Returns defaultRetryOptions
and callsRetryOptions.minBackoffSeconds(double)
. -
withMaxBackoffSeconds
Returns defaultRetryOptions
and callsRetryOptions.maxBackoffSeconds(double)
. -
withMaxDoublings
Returns defaultRetryOptions
and callsRetryOptions.maxDoublings(int)
. -
withDefaults
Returns defaultRetryOptions
.
-