Retry class
Retries the failed job.
Constructors
-
Retry({required Input<
String> attempts, Input<RetryBackoffMode> ? backoffMode, Input<String> ? wait}) -
Creates a new Retry.
attemptsTotal number of retries. Retry will skipped if set to 0; The minimum value is 1, and the maximum value is 10.backoffModeOptional. The pattern of how wait time will be increased. Default is linear. Backoff mode will be ignored ifwaitis 0.waitOptional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.const -
Retry.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
attempts
→ Input<
String> -
Total number of retries. Retry will skipped if set to 0; The minimum value is 1, and the maximum value is 10.
final
-
backoffMode
→ Input<
RetryBackoffMode> ? -
Optional. The pattern of how wait time will be increased. Default is linear. Backoff mode will be ignored if
waitis 0.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
wait
→ Input<
String> ? -
Optional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.
final
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