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
Constructors Constructor Description CompleteDeploymentDistributionProcessor(DeploymentState deploymentState, Writers writers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
processRecord(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, wait
-
Methods inherited from interface io.camunda.zeebe.engine.processing.streamprocessor.StreamProcessorLifecycleAware
onClose, onFailed, onPaused, onRecovered, onResumed
-
Methods inherited from interface io.camunda.zeebe.engine.processing.streamprocessor.TypedRecordProcessor
processRecord, processRecord
-
-
-
-
Constructor Detail
-
CompleteDeploymentDistributionProcessor
public CompleteDeploymentDistributionProcessor(DeploymentState deploymentState, Writers writers)
-
-
Method Detail
-
processRecord
public void processRecord(long position, TypedRecord<DeploymentDistributionRecord> record, TypedResponseWriter responseWriter, TypedStreamWriter streamWriter, Consumer<SideEffectProducer> sideEffect)
- Specified by:
processRecord
in 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 theSideEffectProducer
implementation.
-
-