Interface UpgradeFinalizationManager.Run

    • Method Detail

      • getRequestTimestamp

        long getRequestTimestamp()
        Obtains the timestamp when the finalization is requested to the cluster. This will return the same value for all the nodes in the cluster for any given cluster request. This is used to filter out stale results from remote nodes (e.g. due to event propagation delay).
        Returns:
        timestamp in milliseconds
      • completedTimestamp

        @Nullable
        Long completedTimestamp()
        Obtains the timestamp when the run was completed.
        Returns:
        timestamp in milliseconds, or null if the run is still currently in progress.
      • isDatabaseUpgrade

        boolean isDatabaseUpgrade()
        Returns:
        true if the current node is the nominated node to run DatabaseUpgradeTasks on the cluster.
      • getException

        @Nullable
        UpgradeException getException()
        Returns:
        the exception if finalization failed, or null of it completed successfully
      • getLastTask

        @Nullable
        UpgradeTask getLastTask()
        Returns:
        the last upgrade-task that got executed (or null if no task got executed)