Backoff

ox.scheduling.Schedule.Backoff
See theBackoff companion class
object Backoff

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Backoff.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def forever(firstDuration: FiniteDuration, maxDuration: FiniteDuration, jitter: Jitter): Infinite

A schedule that represents an increasing duration between invocations (backoff) without any invocations limit.

A schedule that represents an increasing duration between invocations (backoff) without any invocations limit.

The backoff is exponential with base 2 (i.e. the next duration is twice as long as the previous one), starting at the given first duration and capped at the given maximum duration.

Value parameters

firstDuration

The duration between the first and the second invocations.

jitter

A random factor used for calculating the duration between subsequent repeats. See Jitter for more details. Defaults to no jitter, i.e. an exponential backoff with no adjustments.

maxDuration

The maximum duration between subsequent repeats.

Attributes