Interface MigrationState


public interface MigrationState
MigrationState shows statistical information about the migration, such as; migration start time, number of planned replica migrations, number of completed replica migrations, total elapsed migration time etc.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the number of completed migrations in the migration plan.
    int
    Returns the number of planned migrations in the migration plan.
    int
    Returns the number of remaining migrations in the migration plan.
    long
    Returns the start time of the migration in milliseconds since the epoch.
    long
    Returns the total elapsed time of completed migrations in milliseconds.
  • Method Details

    • getStartTime

      long getStartTime()
      Returns the start time of the migration in milliseconds since the epoch.
      Returns:
      start time of the migration process
    • getPlannedMigrations

      int getPlannedMigrations()
      Returns the number of planned migrations in the migration plan.
      Returns:
      number of planned migrations
    • getCompletedMigrations

      int getCompletedMigrations()
      Returns the number of completed migrations in the migration plan.
      Returns:
      number of completed migrations
    • getRemainingMigrations

      int getRemainingMigrations()
      Returns the number of remaining migrations in the migration plan.
      Returns:
      number of remaining migrations
    • getTotalElapsedTime

      long getTotalElapsedTime()
      Returns the total elapsed time of completed migrations in milliseconds.
      Returns:
      total elapsed time in milliseconds