Uses of Class
com.google.appengine.api.taskqueue.RetryOptions
-
Packages that use RetryOptions Package Description com.google.appengine.api.taskqueue Provides a mechanism to perform work initiated by a user request, outside of that request. -
-
Uses of RetryOptions in com.google.appengine.api.taskqueue
Methods in com.google.appengine.api.taskqueue that return RetryOptions Modifier and Type Method Description RetryOptions
TaskOptions. getRetryOptions()
Returns a copy of the retry options for a task.RetryOptions
RetryOptions. maxBackoffSeconds(double maxBackoffSeconds)
Sets the maximum retry backoff interval, in seconds.RetryOptions
RetryOptions. maxDoublings(int maxDoublings)
Sets the maximum times the retry backoff interval should double before rising linearly to the maximum.RetryOptions
RetryOptions. minBackoffSeconds(double minBackoffSeconds)
Sets the minimum retry backoff interval, in seconds.RetryOptions
RetryOptions. taskAgeLimitSeconds(long taskAgeLimitSeconds)
Sets the maximum age from the first attempt to execute a task after which any new task failure can be permanent.RetryOptions
RetryOptions. taskRetryLimit(int taskRetryLimit)
Sets the number of retries allowed before a task can fail permanently.static RetryOptions
RetryOptions.Builder. withDefaults()
Returns defaultRetryOptions
.static RetryOptions
RetryOptions.Builder. withMaxBackoffSeconds(double maxBackoffSeconds)
Returns defaultRetryOptions
and callsmaxBackoffSeconds(double)
.static RetryOptions
RetryOptions.Builder. withMaxDoublings(int maxDoublings)
Returns defaultRetryOptions
and callsmaxDoublings(int)
.static RetryOptions
RetryOptions.Builder. withMinBackoffSeconds(double minBackoffSeconds)
Returns defaultRetryOptions
and callsminBackoffSeconds(double)
.static RetryOptions
RetryOptions.Builder. withTaskAgeLimitSeconds(long taskAgeLimitSeconds)
Returns defaultRetryOptions
and callstaskAgeLimitSeconds(long)
.static RetryOptions
RetryOptions.Builder. withTaskRetryLimit(int taskRetryLimit)
Returns defaultRetryOptions
and callstaskRetryLimit(int)
.Methods in com.google.appengine.api.taskqueue with parameters of type RetryOptions Modifier and Type Method Description TaskOptions
TaskOptions. retryOptions(RetryOptions retryOptions)
Sets retry options for this task.static TaskOptions
TaskOptions.Builder. withRetryOptions(RetryOptions retryOptions)
Returns defaultTaskOptions
and callsTaskOptions.retryOptions(RetryOptions)
.Constructors in com.google.appengine.api.taskqueue with parameters of type RetryOptions Constructor Description RetryOptions(RetryOptions options)
-