RetryConfig class

Settings that determine the retry behavior.

By default, if a job does not complete successfully (meaning that an acknowledgement is not received from the handler, then it will be retried with exponential backoff according to the settings in RetryConfig.

Constructors

RetryConfig({String? maxBackoffDuration, int? maxDoublings, String? maxRetryDuration, String? minBackoffDuration, int? retryCount})
RetryConfig.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
maxBackoffDuration String?
The maximum amount of time to wait before retrying a job after it fails.
getter/setter pair
maxDoublings int?
The time between retries will double max_doublings times.
getter/setter pair
maxRetryDuration String?
The time limit for retrying a failed job, measured from time when an execution was first attempted.
getter/setter pair
minBackoffDuration String?
The minimum amount of time to wait before retrying a job after it fails.
getter/setter pair
retryCount int?
The number of attempts that the system will make to run a job using the exponential backoff procedure described by max_doublings.
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