Interface MaintenanceProcess


  • public interface MaintenanceProcess
    Deprecated.
    since 2023.05, use BackupProcess instead
    • Method Detail

      • getProcessId

        int getProcessId()
        Deprecated.
        Returns the maintenance process identifier. This identifier is an internal identified of the maintenance process, it doesn't relate to operating system process identifiers or something else.
        Returns:
        the maintenance process identifier.
      • getProgressStatus

        @NotNull
        ProgressStatus getProgressStatus()
        Deprecated.
        Returns the progress status of the process.
        Returns:
        the progress status.
      • getProgressInfo

        @NotNull
        ProgressInfo getProgressInfo()
        Deprecated.
        Returns the progress in percents and a name of phase.
        Returns:
        the progress in percents and a name of phase.
      • cancel

        void cancel()
        Deprecated.
        Request the process to cancel.
      • hasExceptions

        boolean hasExceptions()
        Deprecated.
        Determines whether exceptions occurred during process performing.
        Returns:
        true if there are exceptions.
      • getExceptions

        java.lang.Exception[] getExceptions()
        Deprecated.
        Returns exceptions that occurred during process performing.
        Returns:
        occurred exceptions in time order.
      • isFinished

        boolean isFinished()
        Deprecated.
        Determines whether the process has already performed its operations or has been stopped. If this functions has returned true, then this process will never do something more. And, the result is not depended on whether the process has ended successfully or with errors.
        Returns:
        true means all possible works have already done.
        Since:
        7.1