Class DueDateTimerChecker
java.lang.Object
io.camunda.zeebe.engine.processing.timer.DueDateTimerChecker
- All Implemented Interfaces:
StreamProcessorLifecycleAware
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static final class
protected static final class
protected static final class
-
Constructor Summary
ConstructorsConstructorDescriptionDueDateTimerChecker
(TimerInstanceState timerInstanceState, FeatureFlags featureFlags) -
Method Summary
Modifier and TypeMethodDescriptionvoid
onClose()
Callback which is called when StreamProcessor is on closing phase.void
onFailed()
Callback which is called when the StreamProcessor failed, during startup or processing.void
onPaused()
Callback which is called when the processing is paused, will only called after onRecovered was called before.void
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
scheduleTimer
(long dueDate)
-
Constructor Details
-
DueDateTimerChecker
-
-
Method Details
-
scheduleTimer
public void scheduleTimer(long dueDate) -
onRecovered
Description copied from interface:StreamProcessorLifecycleAware
Callback after reprocessing was successful and before regular processing begins- Specified by:
onRecovered
in interfaceStreamProcessorLifecycleAware
-
onClose
public void onClose()Description copied from interface:StreamProcessorLifecycleAware
Callback which is called when StreamProcessor is on closing phase.- Specified by:
onClose
in interfaceStreamProcessorLifecycleAware
-
onFailed
public void onFailed()Description copied from interface:StreamProcessorLifecycleAware
Callback which is called when the StreamProcessor failed, during startup or processing.- Specified by:
onFailed
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
-