ZSchedulePolicy

zio.temporal.schedules.ZSchedulePolicy
See theZSchedulePolicy companion object
final case class ZSchedulePolicy

Policies of a schedule.

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: SchedulePolicy
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 withCatchupWindow(value: Duration): ZSchedulePolicy

Set the amount of time in the past to execute missed actions after a Temporal server is unavailable.

Set the amount of time in the past to execute missed actions after a Temporal server is unavailable.

Attributes

def withOverlap(value: ScheduleOverlapPolicy): ZSchedulePolicy

Set the policy for what happens when an action is started while another is still running.

Set the policy for what happens when an action is started while another is still running.

Attributes

def withPauseOnFailure(value: Boolean): ZSchedulePolicy

Set whether to pause the schedule if an action fails or times out.

Set whether to pause the schedule if an action fails or times out.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product