JobRetryConfig class

Constructors

JobRetryConfig({Input<String?>? maxBackoffDuration, Input<int?>? maxDoublings, Input<String?>? maxRetryDuration, Input<String?>? minBackoffDuration, Input<int?>? retryCount})
Creates a new JobRetryConfig. maxBackoffDuration The maximum amount of time to wait before retrying a job after it fails. maxDoublings The time between retries will double maxDoublings times. maxRetryDuration The time limit for retrying a failed job, measured from time when an execution was first attempted. minBackoffDuration The minimum amount of time to wait before retrying a job after it fails. retryCount The number of attempts that the system will make to run a
const
JobRetryConfig.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
maxBackoffDuration → Input<String?>?
The maximum amount of time to wait before retrying a job after it fails. A duration in seconds with up to nine fractional digits, terminated by 's'.
final
maxDoublings → Input<int?>?
The time between retries will double maxDoublings times. A job's retry interval starts at minBackoffDuration, then doubles maxDoublings times, then increases linearly, and finally retries retries at intervals of maxBackoffDuration up to retryCount times.
final
maxRetryDuration → Input<String?>?
The time limit for retrying a failed job, measured from time when an execution was first attempted. If specified with retryCount, the job will be retried until both limits are reached. A duration in seconds with up to nine fractional digits, terminated by 's'.
final
minBackoffDuration → Input<String?>?
The minimum amount of time to wait before retrying a job after it fails. A duration in seconds with up to nine fractional digits, terminated by 's'.
final
retryCount → Input<int?>?
The number of attempts that the system will make to run a job using the exponential backoff procedure described by maxDoublings. Values greater than 5 and negative values are not allowed.
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