Class SchedulePolicy.Builder
java.lang.Object
io.temporal.client.schedules.SchedulePolicy.Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()setCatchupWindow(Duration catchupWindow) Set the amount of time in the past to execute missed actions after a Temporal server is unavailable.setOverlap(io.temporal.api.enums.v1.ScheduleOverlapPolicy overlap) Set the policy for what happens when an action is started while another is still running.setPauseOnFailure(boolean pauseOnFailure) Set whether to pause the schedule if an action fails or times out.
-
Method Details
-
setOverlap
Set the policy for what happens when an action is started while another is still running. -
setCatchupWindow
Set the amount of time in the past to execute missed actions after a Temporal server is unavailable. If unset, the request omits this value and the Temporal Server applies its default (currently one year). -
setPauseOnFailure
Set whether to pause the schedule if an action fails or times out. -
build
-