Class CorrelateWorkflowInstanceSubscription
- java.lang.Object
-
- io.zeebe.engine.processing.message.CorrelateWorkflowInstanceSubscription
-
- All Implemented Interfaces:
StreamProcessorLifecycleAware,TypedRecordProcessor<WorkflowInstanceSubscriptionRecord>
public final class CorrelateWorkflowInstanceSubscription extends Object implements TypedRecordProcessor<WorkflowInstanceSubscriptionRecord>
-
-
Constructor Summary
Constructors Constructor Description CorrelateWorkflowInstanceSubscription(WorkflowInstanceSubscriptionState subscriptionState, SubscriptionCommandSender subscriptionCommandSender, ZeebeState zeebeState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonClose()Callback which is called when StreamProcessor is on closing phase.voidonRecovered(ReadonlyProcessingContext processingContext)Callback after reprocessing was successful and before regular processing beginsvoidprocessRecord(TypedRecord<WorkflowInstanceSubscriptionRecord> record, TypedResponseWriter responseWriter, TypedStreamWriter streamWriter, Consumer<SideEffectProducer> sideEffect)-
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
onFailed, onPaused, onResumed
-
Methods inherited from interface io.zeebe.engine.processing.streamprocessor.TypedRecordProcessor
processRecord, processRecord
-
-
-
-
Constructor Detail
-
CorrelateWorkflowInstanceSubscription
public CorrelateWorkflowInstanceSubscription(WorkflowInstanceSubscriptionState subscriptionState, SubscriptionCommandSender subscriptionCommandSender, ZeebeState zeebeState)
-
-
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
-
processRecord
public void processRecord(TypedRecord<WorkflowInstanceSubscriptionRecord> record, TypedResponseWriter responseWriter, TypedStreamWriter streamWriter, Consumer<SideEffectProducer> sideEffect)
- Specified by:
processRecordin interfaceTypedRecordProcessor<WorkflowInstanceSubscriptionRecord>- See Also:
TypedRecordProcessor.processRecord(TypedRecord, TypedResponseWriter, TypedStreamWriter, Consumer)
-
-