Class MessageSubscriptionSentTimeMigration
java.lang.Object
io.camunda.zeebe.engine.state.migration.MessageSubscriptionSentTimeMigration
- All Implemented Interfaces:
MigrationTask
Reads out the sent time for message subscriptions and sets the
correlating field in
records inZbColumnFamilies.MESSAGE_SUBSCRIPTION_BY_KEY-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns identifier for the migration task.booleanneedsToRun(ZeebeState zeebeState) Returns whether the migration needs to runvoidrunMigration(MutableZeebeState zeebeState) Implementations of this method perform the actual migration
-
Constructor Details
-
MessageSubscriptionSentTimeMigration
public MessageSubscriptionSentTimeMigration()
-
-
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:
zeebeState- 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:
zeebeState- the mutable Zeebe state
-