Schedule

ox.scheduling.Schedule
See theSchedule companion class
object Schedule

Attributes

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

Members list

Type members

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 methods

def computed[S](initialState: S, compute: S => (S, Option[FiniteDuration])): Schedule

An infinite computed schedule. Each interval is computed using the previously returned state (starting with the initial state).

An infinite computed schedule. Each interval is computed using the previously returned state (starting with the initial state).

Attributes

def decorrelatedJitter(min: FiniteDuration): Schedule

An infinite, decorrelated jitter schedule, where each interval is a random duration between the given minimum and three times the previous interval.

An infinite, decorrelated jitter schedule, where each interval is a random duration between the given minimum and three times the previous interval.

Attributes

See also
def exponentialBackoff(initial: FiniteDuration): Schedule

An infinite, exponential backoff schedule with base 2. That is, each subsequent interval is twice as long as the previous one.

An infinite, exponential backoff schedule with base 2. That is, each subsequent interval is twice as long as the previous one.

Attributes

def fibonacciBackoff(initial: FiniteDuration): Schedule

An infinite, Fibonacci backoff schedule. That is, each subsequent interval is the sum of the two previous intervals.

An infinite, Fibonacci backoff schedule. That is, each subsequent interval is the sum of the two previous intervals.

Attributes

def fixedInterval(d: FiniteDuration): Schedule

An infinite schedule that repeats the operation at the given fixed interval.

An infinite schedule that repeats the operation at the given fixed interval.

Attributes

def intervals(intervals: FiniteDuration*): Schedule

A finite schedule that repeats the operation at the given intervals, specified as a sequence of durations.

A finite schedule that repeats the operation at the given intervals, specified as a sequence of durations.

Attributes

Concrete fields

An infinite schedule that immediately repeats the operation, without any delay.

An infinite schedule that immediately repeats the operation, without any delay.

Attributes