Class CompleteDeploymentDistributionProcessor
java.lang.Object
io.camunda.zeebe.engine.processing.deployment.distribute.CompleteDeploymentDistributionProcessor
- All Implemented Interfaces:
StreamProcessorLifecycleAware,TypedRecordProcessor<DeploymentDistributionRecord>
public class CompleteDeploymentDistributionProcessor
extends Object
implements TypedRecordProcessor<DeploymentDistributionRecord>
-
Constructor Summary
ConstructorsConstructorDescriptionCompleteDeploymentDistributionProcessor(DeploymentState deploymentState, Writers writers) -
Method Summary
Modifier and TypeMethodDescriptionvoidprocessRecord(long position, TypedRecord<DeploymentDistributionRecord> 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, waitMethods inherited from interface io.camunda.zeebe.engine.processing.streamprocessor.StreamProcessorLifecycleAware
onClose, onFailed, onPaused, onRecovered, onResumedMethods inherited from interface io.camunda.zeebe.engine.processing.streamprocessor.TypedRecordProcessor
processRecord, processRecord
-
Constructor Details
-
CompleteDeploymentDistributionProcessor
-
-
Method Details
-
processRecord
public void processRecord(long position, TypedRecord<DeploymentDistributionRecord> record, TypedResponseWriter responseWriter, TypedStreamWriter streamWriter, Consumer<SideEffectProducer> sideEffect) - Specified by:
processRecordin interfaceTypedRecordProcessor<DeploymentDistributionRecord>- Parameters:
position- the position of the current record to processrecord- the record to processresponseWriter- the default side effect that can be used for sending responses.TypedResponseWriter.flush()must not be called in this method.sideEffect- consumer to replace the default side effect (response writer). Can be used to implement other types of side effects or composite side effects. If a composite side effect involving the response writer is used,TypedResponseWriter.flush()must be called in theSideEffectProducerimplementation.
-