LinearRetryPolicy class

Linear retry policy.

Amount of delay between retries increases by fixed amount.

Inheritance

Constructors

LinearRetryPolicy({int? backoff, int? maxRetries, int? maximumDelay})
const

Properties

backoff int
Backoff amount in milliseconds
final
hashCode int
The hash code for this object.
no setterinherited
maximumDelay int
Maximum amount of milliseconds to wait until retry is executed
final
maxRetries int
Maximum retries in non-subscribe calls.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getDelay(Fiber fiber) Duration
Returns a Duration that the SDK should wait before retrying.
override
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