| Constructor and Description |
|---|
DriverMigration(RegionDriver driver,
RegionDriver target)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
migrate()
Execute the migration.
|
protected void |
migrate(RegionDatabase store)
Called for all the worlds in the driver.
|
protected void |
postMigration()
Called after migration has successfully completed.
|
public DriverMigration(RegionDriver driver, RegionDriver target)
driver - the source storage drivertarget - the target storage driverprotected void migrate(RegionDatabase store) throws MigrationException
store - the region storeMigrationException - on migration errorprotected void postMigration()
public final void migrate()
throws MigrationException
Migrationmigrate in interface MigrationMigrationException - thrown if the migration failsCopyright © 2015. All Rights Reserved.