Class MessageObserver
- java.lang.Object
-
- io.zeebe.engine.processing.message.MessageObserver
-
- All Implemented Interfaces:
StreamProcessorLifecycleAware
public final class MessageObserver extends Object implements StreamProcessorLifecycleAware
-
-
Field Summary
Fields Modifier and Type Field Description static DurationMESSAGE_TIME_TO_LIVE_CHECK_INTERVALstatic DurationSUBSCRIPTION_CHECK_INTERVALstatic DurationSUBSCRIPTION_TIMEOUT
-
Constructor Summary
Constructors Constructor Description MessageObserver(MessageState messageState, MessageSubscriptionState subscriptionState, SubscriptionCommandSender subscriptionCommandSender)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonRecovered(ReadonlyProcessingContext context)Callback after reprocessing was successful and before regular processing begins-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.zeebe.engine.processing.streamprocessor.StreamProcessorLifecycleAware
onClose, onFailed, onPaused, onResumed
-
-
-
-
Constructor Detail
-
MessageObserver
public MessageObserver(MessageState messageState, MessageSubscriptionState subscriptionState, SubscriptionCommandSender subscriptionCommandSender)
-
-
Method Detail
-
onRecovered
public void onRecovered(ReadonlyProcessingContext context)
Description copied from interface:StreamProcessorLifecycleAwareCallback after reprocessing was successful and before regular processing begins- Specified by:
onRecoveredin interfaceStreamProcessorLifecycleAware
-
-