Class DueDateChecker
java.lang.Object
io.camunda.zeebe.engine.processing.scheduled.DueDateChecker
- All Implemented Interfaces:
StreamProcessorLifecycleAware
-
Constructor Summary
ConstructorDescriptionDueDateChecker
(long timerResolution, Function<TypedCommandWriter, Long> nextDueDateFunction) -
Method Summary
Modifier and TypeMethodDescriptionvoid
onPaused()
Callback which is called when the processing is paused, will only called after onRecovered was called before.void
onRecovered
(ReadonlyProcessingContext processingContext) Callback after reprocessing was successful and before regular processing beginsvoid
Callback which is called when the processing is resumed, will only called after onPaused was called before.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.engine.processing.streamprocessor.StreamProcessorLifecycleAware
onClose, onFailed
-
Constructor Details
-
DueDateChecker
-
-
Method Details
-
schedule
public void schedule(long dueDate) -
onRecovered
Description copied from interface:StreamProcessorLifecycleAware
Callback after reprocessing was successful and before regular processing begins- Specified by:
onRecovered
in interfaceStreamProcessorLifecycleAware
-
onPaused
public void onPaused()Description copied from interface:StreamProcessorLifecycleAware
Callback which is called when the processing is paused, will only called after onRecovered was called before.- Specified by:
onPaused
in interfaceStreamProcessorLifecycleAware
-
onResumed
public void onResumed()Description copied from interface:StreamProcessorLifecycleAware
Callback which is called when the processing is resumed, will only called after onPaused was called before.- Specified by:
onResumed
in interfaceStreamProcessorLifecycleAware
-