Backoff class abstract

An backoff strategy abstraction. A backoff strategy is a technique used to re-attempt failing calls after a delay.

Some common backoff strategies are:

  • Constant Backoff
  • Linear Backoff
  • Exponential Backoff
Implementers

Constructors

Backoff.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

next() Duration
Get the next duration in the series.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
Reset the backoff to its initial state.
toString() String
A string representation of this object.
inherited

Operators

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