Class JobBackoffChecker
java.lang.Object
io.camunda.zeebe.engine.processing.job.JobBackoffChecker
- All Implemented Interfaces:
StreamProcessorLifecycleAware
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonClose()Callback which is called when StreamProcessor is on closing phase.voidonFailed()Callback which is called when the StreamProcessor failed, during startup or processing.voidonPaused()Callback which is called when the processing is paused, will only called after onRecovered was called before.voidCallback after reprocessing was successful and before regular processing beginsvoidCallback which is called when the processing is resumed, will only called after onPaused was called before.voidscheduleBackOff(long dueDate)
-
Constructor Details
-
JobBackoffChecker
-
-
Method Details
-
scheduleBackOff
public void scheduleBackOff(long dueDate) -
onRecovered
Description copied from interface:StreamProcessorLifecycleAwareCallback after reprocessing was successful and before regular processing begins- Specified by:
onRecoveredin interfaceStreamProcessorLifecycleAware
-
onClose
public void onClose()Description copied from interface:StreamProcessorLifecycleAwareCallback which is called when StreamProcessor is on closing phase.- Specified by:
onClosein interfaceStreamProcessorLifecycleAware
-
onFailed
public void onFailed()Description copied from interface:StreamProcessorLifecycleAwareCallback which is called when the StreamProcessor failed, during startup or processing.- Specified by:
onFailedin interfaceStreamProcessorLifecycleAware
-
onPaused
public void onPaused()Description copied from interface:StreamProcessorLifecycleAwareCallback which is called when the processing is paused, will only called after onRecovered was called before.- Specified by:
onPausedin interfaceStreamProcessorLifecycleAware
-
onResumed
public void onResumed()Description copied from interface:StreamProcessorLifecycleAwareCallback which is called when the processing is resumed, will only called after onPaused was called before.- Specified by:
onResumedin interfaceStreamProcessorLifecycleAware
-