Class ProcessInstanceMigrationMigrateProcessor
java.lang.Object
io.camunda.zeebe.engine.processing.processinstance.ProcessInstanceMigrationMigrateProcessor
- All Implemented Interfaces:
TypedRecordProcessor<ProcessInstanceMigrationRecord>
public class ProcessInstanceMigrationMigrateProcessor
extends Object
implements TypedRecordProcessor<ProcessInstanceMigrationRecord>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Exception that can be thrown when a safety check has failed during migration.Nested classes/interfaces inherited from interface io.camunda.zeebe.engine.processing.streamprocessor.TypedRecordProcessor
TypedRecordProcessor.ProcessingError
-
Constructor Summary
ConstructorsConstructorDescriptionProcessInstanceMigrationMigrateProcessor
(Writers writers, ProcessingState processingState) -
Method Summary
Modifier and TypeMethodDescriptionvoid
tryHandleError
(TypedRecord<ProcessInstanceMigrationRecord> command, Throwable error) Try to handle an error that occurred during processing.
-
Constructor Details
-
ProcessInstanceMigrationMigrateProcessor
-
-
Method Details
-
processRecord
- Specified by:
processRecord
in interfaceTypedRecordProcessor<ProcessInstanceMigrationRecord>
-
tryHandleError
public TypedRecordProcessor.ProcessingError tryHandleError(TypedRecord<ProcessInstanceMigrationRecord> command, Throwable error) Description copied from interface:TypedRecordProcessor
Try to handle an error that occurred during processing.- Specified by:
tryHandleError
in interfaceTypedRecordProcessor<ProcessInstanceMigrationRecord>
- Parameters:
command
- The command that was being processed when the error occurrederror
- The error that occurred, and the processor should attempt to handle- Returns:
- The type of the processing error. Default:
TypedRecordProcessor.ProcessingError.UNEXPECTED_ERROR
.
-