FailoverStrategy

reactivemongo.api.FailoverStrategy$
See theFailoverStrategy companion class

FailoverStrategy utilities

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

final class FactorFun extends Int => Double

A factor function using simple multiplication.

A factor function using simple multiplication.

Attributes

Companion:
object
Graph
Supertypes
trait Int => Double
class Object
trait Matchable
class Any
object FactorFun

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def apply(initialDelay: FiniteDuration, retries: Int, delayFactor: Int => Double): FailoverStrategy

The factor function for the default strategy: × 1.25

The factor function for the default strategy: × 1.25

Attributes

Concrete fields

The default strategy

The default strategy

Attributes

The strategy when the MongoDB nodes are remote (with 16 retries)

The strategy when the MongoDB nodes are remote (with 16 retries)

Attributes

A more strict strategy: same as default but with less retries (=5).

A more strict strategy: same as default but with less retries (=5).

Attributes