RetryStrategy enum

Jitter scheme for retry delays.

Inheritance
Available extensions

Values

full → const RetryStrategy

AWS full jitter: delay = MinDelay + rand(0, max(0, ceiling - MinDelay)), where ceiling grows by RetryConfig.multiplier each attempt. Best general-purpose choice.

decorrelated → const RetryStrategy

AWS decorrelated jitter: delay = Initial + rand(0, max(0, min(Max, prev * DecorrelationFactor) - Initial)). Bounds the next delay relative to the previous one. Useful under sustained load where the attempt counter loses meaning. Ignores RetryConfig.minDelay; its floor is always RetryConfig.initial.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<RetryStrategy>
A constant List of the values in this enum, in order of their declaration.