Class DueDateTimerChecker
- java.lang.Object
-
- io.camunda.zeebe.engine.processing.timer.DueDateTimerChecker
-
- All Implemented Interfaces:
StreamProcessorLifecycleAware
public class DueDateTimerChecker extends Object implements StreamProcessorLifecycleAware
-
-
Constructor Summary
Constructors Constructor Description DueDateTimerChecker(TimerInstanceState timerInstanceState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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
onResumed()
Callback which is called when the processing is resumed, will only called after onPaused was called before.void
scheduleTimer(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 Detail
-
DueDateTimerChecker
public DueDateTimerChecker(TimerInstanceState timerInstanceState)
-
-
Method Detail
-
scheduleTimer
public void scheduleTimer(long dueDate)
-
onRecovered
public void onRecovered(ReadonlyProcessingContext processingContext)
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
-
-