public interface DataConsistencyService
Provides data consistency checking services.
Modifier and Type | Method and Description |
---|---|
void |
runAllDataConsistencyChecks(org.flywaydb.core.api.MigrationVersion currentMigrationVersion,
boolean quickCheck)
Runs all data consistency checks across the whole system.
|
void |
runGlobalChecks(org.flywaydb.core.api.MigrationVersion currentMigrationVersion,
boolean quickCheck)
Runs any data consistency checks that should be applied to the whole database (i.e. are
not restricted to a single tenant).
|
void |
runTenantSpecificChecks(org.flywaydb.core.api.MigrationVersion currentMigrationVersion,
String tenantName,
boolean quickCheck)
Runs any data consistency checks that should be applied to the current tenant.
|
void runAllDataConsistencyChecks(org.flywaydb.core.api.MigrationVersion currentMigrationVersion, boolean quickCheck)
Runs all data consistency checks across the whole system.
currentMigrationVersion
- the current migration versionquickCheck
- true
if only quick checks are to be performedvoid runGlobalChecks(org.flywaydb.core.api.MigrationVersion currentMigrationVersion, boolean quickCheck)
Runs any data consistency checks that should be applied to the whole database (i.e. are not restricted to a single tenant).
currentMigrationVersion
- the current migration versionquickCheck
- true
if only quick checks are to be performedvoid runTenantSpecificChecks(org.flywaydb.core.api.MigrationVersion currentMigrationVersion, String tenantName, boolean quickCheck)
Runs any data consistency checks that should be applied to the current tenant.
The tenant to be checked should already be set as the current tenant before this method is called.
currentMigrationVersion
- the current migration versiontenantName
- the current tenant namequickCheck
- true
if only quick checks are to be performedCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.