Package io.zeebe.engine.processing.job
Class JobTimeoutTrigger
- java.lang.Object
-
- io.zeebe.engine.processing.job.JobTimeoutTrigger
-
- All Implemented Interfaces:
StreamProcessorLifecycleAware
public final class JobTimeoutTrigger extends Object implements StreamProcessorLifecycleAware
-
-
Field Summary
Fields Modifier and Type Field Description static DurationTIME_OUT_POLLING_INTERVAL
-
Constructor Summary
Constructors Constructor Description JobTimeoutTrigger(JobState state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonClose()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.voidonRecovered(ReadonlyProcessingContext processingContext)Callback after reprocessing was successful and before regular processing beginsvoidonResumed()Callback which is called when the processing is resumed, will only called after onPaused was called before.
-
-
-
Field Detail
-
TIME_OUT_POLLING_INTERVAL
public static final Duration TIME_OUT_POLLING_INTERVAL
-
-
Constructor Detail
-
JobTimeoutTrigger
public JobTimeoutTrigger(JobState state)
-
-
Method Detail
-
onRecovered
public void onRecovered(ReadonlyProcessingContext processingContext)
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
-
-