Retry

gears.async.Retry
See theRetry companion class
object Retry

Attributes

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

Members list

Type members

Classlikes

object Delay

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Delay.type
trait Delay

Defines a delay policy based on the number of successive failures and the duration of the last delay. See Delay companion object for some provided delay policies.

Defines a delay policy based on the number of successive failures and the duration of the last delay. See Delay companion object for some provided delay policies.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object Jitter

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Jitter.type
trait Jitter

A randomizer for the delay duration, to avoid accidental coordinated DoS on failures. See Jitter companion objects for some provided jitter implementations.

A randomizer for the delay duration, to avoid accidental coordinated DoS on failures. See Jitter companion objects for some provided jitter implementations.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

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 fields

val forever: Retry

Ignores the result and attempt the action in an infinite loop. Retry.withMaximumFailures can be useful for bailing on multiple failures. scala.util.boundary can be used for manually breaking.

Ignores the result and attempt the action in an infinite loop. Retry.withMaximumFailures can be useful for bailing on multiple failures. scala.util.boundary can be used for manually breaking.

Attributes

Attempt to retry the operation until an exception is raised. In this mode, Retry always throws an exception on return.

Attempt to retry the operation until an exception is raised. In this mode, Retry always throws an exception on return.

Attributes

Returns the result, or attempt to retry if an exception is raised.

Returns the result, or attempt to retry if an exception is raised.

Attributes