QueueRetryConfig class

Constructors

QueueRetryConfig({Input<int?>? maxAttempts, Input<String?>? maxBackoff, Input<int?>? maxDoublings, Input<String?>? maxRetryDuration, Input<String?>? minBackoff})
Creates a new QueueRetryConfig. maxAttempts Number of attempts per task. maxBackoff A task will be scheduled for retry between minBackoff and maxDoublings The time between retries will double maxDoublings times. maxRetryDuration If positive, maxRetryDuration specifies the time limit for minBackoff A task will be scheduled for retry between minBackoff and
const
QueueRetryConfig.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
maxAttempts → Input<int?>?
Number of attempts per task. Cloud Tasks will attempt the task maxAttempts times (that is, if the first attempt fails, then there will be maxAttempts - 1 retries). Must be >= -1. If unspecified when the queue is created, Cloud Tasks will pick the default. -1 indicates unlimited attempts.
final
maxBackoff → Input<String?>?
A task will be scheduled for retry between minBackoff and maxBackoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried.
final
maxDoublings → Input<int?>?
The time between retries will double maxDoublings times. A task's retry interval starts at minBackoff, then doubles maxDoublings times, then increases linearly, and finally retries retries at intervals of maxBackoff up to maxAttempts times.
final
maxRetryDuration → Input<String?>?
If positive, maxRetryDuration specifies the time limit for retrying a failed task, measured from when the task was first attempted. Once maxRetryDuration time has passed and the task has been attempted maxAttempts times, no further attempts will be made and the task will be deleted. If zero, then the task age is unlimited.
final
minBackoff → Input<String?>?
A task will be scheduled for retry between minBackoff and maxBackoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited