RetryConfig class

Retry config.

These settings determine when a failed task attempt is retried.

Constructors

RetryConfig({int? maxAttempts, String? maxBackoff, int? maxDoublings, String? maxRetryDuration, String? minBackoff})
RetryConfig.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
maxAttempts int?
Number of attempts per task.
getter/setter pair
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.
getter/setter pair
maxDoublings int?
The time between retries will double max_doublings times.
getter/setter pair
maxRetryDuration String?
If positive, max_retry_duration specifies the time limit for retrying a failed task, measured from when the task was first attempted.
getter/setter pair
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.
getter/setter pair
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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