Class SchedulePolicy
java.lang.Object
io.temporal.client.schedules.SchedulePolicy
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the amount of time in the past to execute missed actions after a Temporal server is unavailable.io.temporal.api.enums.v1.ScheduleOverlapPolicyGets the policy for what happens when an action is started while another is still running.inthashCode()booleanGets a value indicating whether to pause the schedule if an action fails or times out.static SchedulePolicy.Builderstatic SchedulePolicy.BuildernewBuilder(SchedulePolicy options) toString()
-
Method Details
-
newBuilder
-
newBuilder
-
getOverlap
public io.temporal.api.enums.v1.ScheduleOverlapPolicy getOverlap()Gets the policy for what happens when an action is started while another is still running.- Returns:
- the schedules overlap policy
-
getCatchupWindow
Gets the amount of time in the past to execute missed actions after a Temporal server is unavailable.- Returns:
- the schedules catchup window
-
isPauseOnFailure
public boolean isPauseOnFailure()Gets a value indicating whether to pause the schedule if an action fails or times out.- Returns:
- if the schedule should pause on failure
-
equals
-
hashCode
-
toString
-