Class JobBackoffCleanupMigration
java.lang.Object
io.camunda.zeebe.engine.state.migration.JobBackoffCleanupMigration
- All Implemented Interfaces:
MigrationTask
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns identifier for the migration task.booleanneedsToRun(ProcessingState processingState) Returns whether the migration needs to run.voidrunMigration(MutableProcessingState processingState) Implementations of this method perform the actual migration
-
Constructor Details
-
JobBackoffCleanupMigration
public JobBackoffCleanupMigration()
-
-
Method Details
-
getIdentifier
Description copied from interface:MigrationTaskReturns identifier for the migration task.The identifier is used for logging.
In the future, it might also be used to store the migrations that were run in persistent state
- Specified by:
getIdentifierin interfaceMigrationTask- Returns:
- identifier for the migration task
-
needsToRun
Description copied from interface:MigrationTaskReturns whether the migration needs to run.- Specified by:
needsToRunin interfaceMigrationTask- Parameters:
processingState- the immutable Zeebe state- Returns:
- whether the migration needs to run
-
runMigration
Description copied from interface:MigrationTaskImplementations of this method perform the actual migration- Specified by:
runMigrationin interfaceMigrationTask- Parameters:
processingState- the mutable Zeebe state
-