Class PendingProcessMessageSubscriptionChecker
- java.lang.Object
-
- io.camunda.zeebe.engine.processing.message.PendingProcessMessageSubscriptionChecker
-
- All Implemented Interfaces:
StreamProcessorLifecycleAware
public final class PendingProcessMessageSubscriptionChecker extends Object implements StreamProcessorLifecycleAware
-
-
Constructor Summary
Constructors Constructor Description PendingProcessMessageSubscriptionChecker(SubscriptionCommandSender commandSender, MutableProcessMessageSubscriptionState subscriptionState)
-
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 context)
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.
-
-
-
Constructor Detail
-
PendingProcessMessageSubscriptionChecker
public PendingProcessMessageSubscriptionChecker(SubscriptionCommandSender commandSender, MutableProcessMessageSubscriptionState subscriptionState)
-
-
Method Detail
-
onRecovered
public void onRecovered(ReadonlyProcessingContext context)
Description copied from interface:StreamProcessorLifecycleAware
Callback after reprocessing was successful and before regular processing begins- Specified by:
onRecovered
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
-
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
-
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
-
-