Retries

final case class Retries(waitTimes: Iterable[Duration])

Immutable retry policy

Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def ++(r: Retries): Retries
def apply(attemptsSoFar: Int): Option[Duration]
def isEmpty: Boolean
def pop: Option[(Duration, Retries)]
def take(n: Int): Retries
def takeWhile(f: Duration => Boolean): Retries

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product