Class MigrationService.MigrationStatus

  • Enclosing interface:
    MigrationService

    public static class MigrationService.MigrationStatus
    extends Object
    The status of a migration.

    A migration is either running or not. When not running, it just has a state.

    When running, it has a step, start time, and progress information (message, num, total, last ping time).

    Since:
    9.3
    • Method Detail

      • isRunning

        public boolean isRunning()
        Checks whether the migration is running.
        Returns:
        true if a migration is running, or false otherwise
      • getState

        public String getState()
        Gets the state of the migration, if it's not running.
      • getStep

        public String getStep()
        Gets the step of the migration, if it's running.
      • getStartTime

        public long getStartTime()
        Gets the start time of the migration, if it's running.
      • getPingTime

        public long getPingTime()
        Gets the ping time of the migration, if it's running.
      • getProgressNum

        public long getProgressNum()
        Gets the progress "num" of the migration, if it's running.
      • getProgressTotal

        public long getProgressTotal()
        Gets the progress "total" of the migration, if it's running.