Class DbMigrationState
java.lang.Object
io.camunda.zeebe.engine.state.migration.DbMigrationState
- All Implemented Interfaces:
MigrationState
,MutableMigrationState
-
Constructor Summary
ConstructorsConstructorDescriptionDbMigrationState
(ZeebeDb<ZbColumnFamilies> zeebeDb, TransactionContext transactionContext) -
Method Summary
Modifier and TypeMethodDescriptionboolean
isMigrationFinished
(String identifier) Checks if a migration is in state FINISHED.void
markMigrationFinished
(String identifier) Changes the state of a migration to FINISHED to indicate it has been executed.void
void
void
migrateMessageSubscriptionSentTime
(MutableMessageSubscriptionState messageSubscriptionState, MutablePendingMessageSubscriptionState transientState) void
migrateProcessMessageSubscriptionSentTime
(MutableProcessMessageSubscriptionState persistentState, MutablePendingProcessMessageSubscriptionState transientState) void
migrateTemporaryVariables
(MutableEventScopeInstanceState eventScopeInstanceState, MutableElementInstanceState elementInstanceState)
-
Constructor Details
-
DbMigrationState
-
-
Method Details
-
migrateMessageSubscriptionSentTime
public void migrateMessageSubscriptionSentTime(MutableMessageSubscriptionState messageSubscriptionState, MutablePendingMessageSubscriptionState transientState) - Specified by:
migrateMessageSubscriptionSentTime
in interfaceMutableMigrationState
-
migrateProcessMessageSubscriptionSentTime
public void migrateProcessMessageSubscriptionSentTime(MutableProcessMessageSubscriptionState persistentState, MutablePendingProcessMessageSubscriptionState transientState) - Specified by:
migrateProcessMessageSubscriptionSentTime
in interfaceMutableMigrationState
-
migrateTemporaryVariables
public void migrateTemporaryVariables(MutableEventScopeInstanceState eventScopeInstanceState, MutableElementInstanceState elementInstanceState) - Specified by:
migrateTemporaryVariables
in interfaceMutableMigrationState
-
migrateDecisionsPopulateDecisionVersionByDecisionIdAndDecisionKey
public void migrateDecisionsPopulateDecisionVersionByDecisionIdAndDecisionKey()- Specified by:
migrateDecisionsPopulateDecisionVersionByDecisionIdAndDecisionKey
in interfaceMutableMigrationState
-
migrateDrgPopulateDrgVersionByDrgIdAndKey
public void migrateDrgPopulateDrgVersionByDrgIdAndKey()- Specified by:
migrateDrgPopulateDrgVersionByDrgIdAndKey
in interfaceMutableMigrationState
-
markMigrationFinished
Description copied from interface:MutableMigrationState
Changes the state of a migration to FINISHED to indicate it has been executed.- Specified by:
markMigrationFinished
in interfaceMutableMigrationState
- Parameters:
identifier
- the identifier of the migration
-
isMigrationFinished
Description copied from interface:MigrationState
Checks if a migration is in state FINISHED.- Specified by:
isMigrationFinished
in interfaceMigrationState
- Parameters:
identifier
- the identifier of the migration
-