ZScheduleSpec

zio.temporal.schedules.ZScheduleSpec
See theZScheduleSpec companion class
object ZScheduleSpec

Attributes

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

Members list

Type members

Classlikes

object Times

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Times.type
sealed trait Times extends Product, Serializable

The Times is a schedule specification kind represented as a union of

The Times is a schedule specification kind represented as a union of

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class Calendars
class Intervals

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

Set the calendar-based specification of times a schedule should run.

Set the calendar-based specification of times a schedule should run.

Attributes

Set the calendar-based specification of times a schedule should run.

Set the calendar-based specification of times a schedule should run.

Attributes

def cronExpressions(values: List[String]): ZScheduleSpec

Set the cron-based specification of times a schedule should run.

Set the cron-based specification of times a schedule should run.

This is provided for easy migration from legacy string-based cron scheduling. New uses should use calendars instead. These expressions will be translated to calendar-based specifications on the server.

Attributes

def cronExpressions(values: String*): ZScheduleSpec

Set the cron-based specification of times a schedule should run.

Set the cron-based specification of times a schedule should run.

This is provided for easy migration from legacy string-based cron scheduling. New uses should use calendars instead. These expressions will be translated to calendar-based specifications on the server.

Attributes

def fromJava(spec: ScheduleSpec): ZScheduleSpec

Set the interval-based specification of times a schedule should run.

Set the interval-based specification of times a schedule should run.

Attributes

Set the interval-based specification of times a schedule should run.

Set the interval-based specification of times a schedule should run.

Attributes