Class DueDateChecker
java.lang.Object
io.camunda.zeebe.engine.processing.scheduled.DueDateChecker
- All Implemented Interfaces:
StreamProcessorLifecycleAware
-
Constructor Summary
ConstructorsConstructorDescriptionDueDateChecker(long timerResolution, boolean scheduleAsync, Function<TaskResultBuilder, Long> nextDueDateFunction) -
Method Summary
Modifier and TypeMethodDescriptionvoidonPaused()voidonRecovered(ReadonlyStreamProcessorContext processingContext) voidvoidschedule(long dueDate) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.camunda.zeebe.stream.api.StreamProcessorLifecycleAware
onClose, onFailed
-
Constructor Details
-
DueDateChecker
public DueDateChecker(long timerResolution, boolean scheduleAsync, Function<TaskResultBuilder, Long> nextDueDateFunction)
-
-
Method Details
-
schedule
public void schedule(long dueDate) -
onRecovered
- Specified by:
onRecoveredin interfaceStreamProcessorLifecycleAware
-
onPaused
public void onPaused()- Specified by:
onPausedin interfaceStreamProcessorLifecycleAware
-
onResumed
public void onResumed()- Specified by:
onResumedin interfaceStreamProcessorLifecycleAware
-