Backoff

io.chrisdavenport.circuit.Backoff$
object Backoff

Default functions for calculating the next reset timeout.

Attributes

Source:
Backoff.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Backoff.type

Members list

Concise view

Value members

Concrete methods

Adds a constant duration on each iteration

Adds a constant duration on each iteration

Attributes

increment

A finite duration that must be greater than zero.

Source:
Backoff.scala

Returns a constant duration on each iteration

Returns a constant duration on each iteration

Attributes

value

A finite duration that is zero or greater.

Source:
Backoff.scala

Returns the previously used duration

Returns the previously used duration

This is useful if you want your wait time to always be the same as the inital reset timeout.

Attributes

Source:
Backoff.scala

Concrete fields

Doubles the previous duration on each iteration.

Doubles the previous duration on each iteration.

Attributes

Source:
Backoff.scala