InitialDelay

ox.scheduling.Schedule.InitialDelay
case class InitialDelay(delay: FiniteDuration)

A schedule that represents an initial delay applied before the first invocation of operation being scheduled. Usually used in combination with other schedules using andThen

Value parameters

delay

The initial delay.

Attributes

Example
 Schedule.InitialDelay(1.second).andThen(Schedule.Delay.forever(100.millis))
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Schedule
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def initialDelay: FiniteDuration

Attributes

Definition Classes
override def maxRepeats: Int

Attributes

Definition Classes
Finite
override def nextDuration(invocation: Int, lastDuration: Option[FiniteDuration]): FiniteDuration

Attributes

Definition Classes

Inherited methods

def andThen(nextSchedule: Infinite): Infinite

Attributes

Inherited from:
Finite (hidden)
def andThen(nextSchedule: Finite): Finite

Attributes

Inherited from:
Finite (hidden)
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product