ZScheduleSpec

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

Specification of the times scheduled actions may occur.

The times is a union represented as ZScheduleSpec.Times type. ZScheduleSpec.skip is used for exclusions

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def toJava: ScheduleSpec
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
def withEndAt(value: Instant): ZScheduleSpec

Set the end time of the schedule, after which any matching times will be skipped.

Set the end time of the schedule, after which any matching times will be skipped.

Attributes

def withJitter(value: Duration): ZScheduleSpec

Set the jitter to apply to each action.

Set the jitter to apply to each action.

An action's schedule time will be incremented by a random value between 0 and this value if present (but not past the next schedule).

Attributes

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

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

Attributes

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

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

Attributes

def withStartAt(value: Instant): ZScheduleSpec

Set the start time of the schedule, before which any matching times will be skipped.

Set the start time of the schedule, before which any matching times will be skipped.

Attributes

def withTimeZoneName(value: String): ZScheduleSpec

Set the schedules time zone as a string, for example US/Central .

Set the schedules time zone as a string, for example US/Central .

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product