Class BpmnStreamProcessor
- java.lang.Object
-
- io.camunda.zeebe.engine.processing.bpmn.BpmnStreamProcessor
-
- All Implemented Interfaces:
StreamProcessorLifecycleAware
,TypedRecordProcessor<ProcessInstanceRecord>
public final class BpmnStreamProcessor extends Object implements TypedRecordProcessor<ProcessInstanceRecord>
-
-
Constructor Summary
Constructors Constructor Description BpmnStreamProcessor(ExpressionProcessor expressionProcessor, CatchEventBehavior catchEventBehavior, VariableBehavior variableBehavior, EventTriggerBehavior eventTriggerBehavior, MutableZeebeState zeebeState, Writers writers, JobMetrics jobMetrics)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onRecovered(ReadonlyProcessingContext context)
Callback after reprocessing was successful and before regular processing beginsvoid
processRecord(TypedRecord<ProcessInstanceRecord> 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.camunda.zeebe.engine.processing.streamprocessor.StreamProcessorLifecycleAware
onClose, onFailed, onPaused, onResumed
-
Methods inherited from interface io.camunda.zeebe.engine.processing.streamprocessor.TypedRecordProcessor
processRecord, processRecord
-
-
-
-
Constructor Detail
-
BpmnStreamProcessor
public BpmnStreamProcessor(ExpressionProcessor expressionProcessor, CatchEventBehavior catchEventBehavior, VariableBehavior variableBehavior, EventTriggerBehavior eventTriggerBehavior, MutableZeebeState zeebeState, Writers writers, JobMetrics jobMetrics)
-
-
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
-
processRecord
public void processRecord(TypedRecord<ProcessInstanceRecord> record, TypedResponseWriter responseWriter, TypedStreamWriter streamWriter, Consumer<SideEffectProducer> sideEffect)
- Specified by:
processRecord
in interfaceTypedRecordProcessor<ProcessInstanceRecord>
- See Also:
TypedRecordProcessor.processRecord(TypedRecord, TypedResponseWriter, TypedStreamWriter, Consumer)
-
-