Uses of Class
com.google.appengine.api.taskqueue.RetryOptions
Packages that use RetryOptions
Package
Description
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 RetryOptionsModifier and TypeMethodDescriptionTaskOptions.getRetryOptions()
Returns a copy of the retry options for a task.RetryOptions.maxBackoffSeconds
(double maxBackoffSeconds) Sets the maximum retry backoff interval, in seconds.RetryOptions.maxDoublings
(int maxDoublings) Sets the maximum times the retry backoff interval should double before rising linearly to the maximum.RetryOptions.minBackoffSeconds
(double minBackoffSeconds) Sets the minimum retry backoff interval, in seconds.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.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 RetryOptionsModifier and TypeMethodDescriptionTaskOptions.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