final case class BackoffPolicyExtensions(self: BackoffPolicy) extends AnyVal with Product with Serializable
Adds DSL extension methods to the backoff policy interface.
- self
The backoff policy to add the extension methods to.
- Alphabetic
- By Inheritance
- BackoffPolicyExtensions
- Serializable
- Serializable
- Product
- Equals
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
BackoffPolicyExtensions(self: BackoffPolicy)
- self
The backoff policy to add the extension methods to.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
randomized(range: (FiniteDuration, FiniteDuration)): BackoffPolicy
Creates a backoff policy that randomizes the result of
self
.Creates a backoff policy that randomizes the result of
self
.- range
The range of values that may be used to modify the result of
self
.
-
def
randomized(bound: FiniteDuration): BackoffPolicy
Creates a backoff policy that randomizes the result of
self
.Creates a backoff policy that randomizes the result of
self
.- bound
The minimum (if negative) or maximum (if positive) value in the range that may be used to modify the result of
self
.
- val self: BackoffPolicy