RetrySchedule

etlflow.utils.RetrySchedule$

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def forever(spaced: Duration): Schedule[Any, Throwable, (Throwable, Long, Long)]

Attributes

spaced

Specifies duration each repetition should be spaced from the last run

Returns:

Schedule

def recurs(retry: Int, spaced: Duration): Schedule[Any, Throwable, (Throwable, Long, Long)]

Attributes

retry

Number of times effect needs to run before it terminates

spaced

Specifies duration each repetition should be spaced from the last run

Returns:

Schedule