Interface StreamProcessorLifecycleAware
-
- All Known Subinterfaces:
TypedRecordProcessor<T>
- All Known Implementing Classes:
BpmnStreamProcessor,CancelTimerProcessor,CloseMessageStartEventSubscriptionProcessor,CloseMessageSubscriptionProcessor,CloseWorkflowInstanceSubscription,CommandProcessorImpl,CorrelateMessageSubscriptionProcessor,CorrelateWorkflowInstanceSubscription,CreateTimerProcessor,DeleteMessageProcessor,DeploymentCreatedProcessor,DeploymentCreateProcessor,DeploymentDistributeProcessor,DueDateTimerChecker,JobBatchActivateProcessor,JobCompletedEventProcessor,JobCreatedProcessor,JobErrorThrownProcessor,JobFailedProcessor,JobTimeoutTrigger,MessageObserver,OpenMessageStartEventSubscriptionProcessor,OpenMessageSubscriptionProcessor,OpenWorkflowInstanceSubscriptionProcessor,PublishMessageProcessor,RejectMessageCorrelationProcessor,ResolveIncidentProcessor,TransformingDeploymentCreateProcessor,TriggerTimerProcessor,UpdateVariableStreamWriter,WorkflowInstanceCommandProcessor
public interface StreamProcessorLifecycleAware
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidonClose()Callback which is called when StreamProcessor is on closing phase.default voidonFailed()Callback which is called when the StreamProcessor failed, during startup or processing.default voidonPaused()Callback which is called when the processing is paused, will only called after onRecovered was called before.default voidonRecovered(ReadonlyProcessingContext context)Callback after reprocessing was successful and before regular processing beginsdefault voidonResumed()Callback which is called when the processing is resumed, will only called after onPaused was called before.
-
-
-
Method Detail
-
onRecovered
default void onRecovered(ReadonlyProcessingContext context)
Callback after reprocessing was successful and before regular processing begins
-
onClose
default void onClose()
Callback which is called when StreamProcessor is on closing phase.
-
onFailed
default void onFailed()
Callback which is called when the StreamProcessor failed, during startup or processing.
-
onPaused
default void onPaused()
Callback which is called when the processing is paused, will only called after onRecovered was called before.
-
onResumed
default void onResumed()
Callback which is called when the processing is resumed, will only called after onPaused was called before.
-
-