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 TypeMethodDescriptionvoid
onPaused()
void
onRecovered
(ReadonlyStreamProcessorContext processingContext) void
void
schedule
(long dueDate) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
onRecovered
in interfaceStreamProcessorLifecycleAware
-
onPaused
public void onPaused()- Specified by:
onPaused
in interfaceStreamProcessorLifecycleAware
-
onResumed
public void onResumed()- Specified by:
onResumed
in interfaceStreamProcessorLifecycleAware
-