Class MessageSubscriptionMigrateProcessor
java.lang.Object
io.camunda.zeebe.engine.processing.message.MessageSubscriptionMigrateProcessor
- All Implemented Interfaces:
DistributedTypedRecordProcessor<MessageSubscriptionRecord>,TypedRecordProcessor<MessageSubscriptionRecord>
public class MessageSubscriptionMigrateProcessor
extends Object
implements DistributedTypedRecordProcessor<MessageSubscriptionRecord>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.camunda.zeebe.engine.processing.streamprocessor.TypedRecordProcessor
TypedRecordProcessor.ProcessingError -
Constructor Summary
ConstructorsConstructorDescriptionMessageSubscriptionMigrateProcessor(MessageSubscriptionState subscriptionState, Writers writers, CommandDistributionBehavior commandDistributionBehavior) -
Method Summary
Modifier and TypeMethodDescriptionvoidProcess a command that has been distributed.voidProcess 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
-
MessageSubscriptionMigrateProcessor
public MessageSubscriptionMigrateProcessor(MessageSubscriptionState subscriptionState, Writers writers, CommandDistributionBehavior commandDistributionBehavior)
-
-
Method Details
-
processNewCommand
Description copied from interface:DistributedTypedRecordProcessorProcess a command that is not distributed yet- Specified by:
processNewCommandin interfaceDistributedTypedRecordProcessor<MessageSubscriptionRecord>- 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<MessageSubscriptionRecord>- Parameters:
command- the already distributed command to process
-