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 TypeMethodDescriptionvoidprocessDistributedCommand(TypedRecord<SignalRecord> command) Process a command that has been distributed.voidprocessNewCommand(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, waitMethods inherited from interface io.camunda.zeebe.engine.processing.streamprocessor.DistributedTypedRecordProcessor
processRecordMethods 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:DistributedTypedRecordProcessorProcess a command that is not distributed yet- Specified by:
processNewCommandin interfaceDistributedTypedRecordProcessor<SignalRecord>- Parameters:
command- the not yet distributed command to process
-
processDistributedCommand
Description copied from interface:DistributedTypedRecordProcessorProcess a command that has been distributed. Be aware to not distribute it again!- Specified by:
processDistributedCommandin interfaceDistributedTypedRecordProcessor<SignalRecord>- Parameters:
command- the already distributed command to process
-