Class JobTimeoutTrigger
- java.lang.Object
-
- io.camunda.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 Duration
TIME_OUT_POLLING_INTERVAL
-
Constructor Summary
Constructors Constructor Description JobTimeoutTrigger(JobState state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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
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.
-
-
-
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: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
-
-