RetryConfig class

Retry config.

These settings determine when a failed task attempt is retried.

Constructors

RetryConfig()
RetryConfig.fromJson(Map _json)

Properties

maxAttempts ↔ int
Number of attempts per task. [...]
read / write
maxBackoff ↔ String
A task will be scheduled for retry between min_backoff and max_backoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried. [...]
read / write
maxDoublings ↔ int
The time between retries will double max_doublings times. [...]
read / write
maxRetryDuration ↔ String
If positive, max_retry_duration specifies the time limit for retrying a failed task, measured from when the task was first attempted. Once max_retry_duration time has passed and the task has been attempted max_attempts times, no further attempts will be made and the task will be deleted. [...]
read / write
minBackoff ↔ String
A task will be scheduled for retry between min_backoff and max_backoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried. [...]
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

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