Class SignalBroadcastProcessor
java.lang.Object
io.camunda.zeebe.engine.processing.signal.SignalBroadcastProcessor
- All Implemented Interfaces:
DistributedTypedRecordProcessor<SignalRecord>
,TypedRecordProcessor<SignalRecord>
public class SignalBroadcastProcessor
extends Object
implements DistributedTypedRecordProcessor<SignalRecord>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.camunda.zeebe.engine.processing.streamprocessor.TypedRecordProcessor
TypedRecordProcessor.ProcessingError
-
Constructor Summary
ConstructorsConstructorDescriptionSignalBroadcastProcessor
(Writers writers, KeyGenerator keyGenerator, ProcessingState processingState, BpmnStateBehavior stateBehavior, EventTriggerBehavior eventTriggerBehavior, CommandDistributionBehavior commandDistributionBehavior) -
Method Summary
Modifier and TypeMethodDescriptionvoid
processDistributedCommand
(TypedRecord<SignalRecord> command) Process a command that has been distributed.void
processNewCommand
(TypedRecord<SignalRecord> command) Process a command that is not distributed yetMethods 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.DistributedTypedRecordProcessor
processRecord
Methods inherited from interface io.camunda.zeebe.engine.processing.streamprocessor.TypedRecordProcessor
tryHandleError
-
Constructor Details
-
SignalBroadcastProcessor
public SignalBroadcastProcessor(Writers writers, KeyGenerator keyGenerator, ProcessingState processingState, BpmnStateBehavior stateBehavior, EventTriggerBehavior eventTriggerBehavior, CommandDistributionBehavior commandDistributionBehavior)
-
-
Method Details
-
processNewCommand
Description copied from interface:DistributedTypedRecordProcessor
Process a command that is not distributed yet- Specified by:
processNewCommand
in interfaceDistributedTypedRecordProcessor<SignalRecord>
- Parameters:
command
- the not yet distributed command to process
-
processDistributedCommand
Description copied from interface:DistributedTypedRecordProcessor
Process a command that has been distributed. Be aware to not distribute it again!- Specified by:
processDistributedCommand
in interfaceDistributedTypedRecordProcessor<SignalRecord>
- Parameters:
command
- the already distributed command to process
-