Interface RecoverStatus


public interface RecoverStatus
  • Method Details

    • getRecoverStartTimeMillis

      long getRecoverStartTimeMillis()
      Recover start time in milliseconds.
    • getRecoverFinishTimeMillis

      long getRecoverFinishTimeMillis()
      Recover finish time in milliseconds.
    • getOriginalFileType

      int getOriginalFileType()
      Get the type of file recovered.
    • getOriginalFilename

      String getOriginalFilename()
      Get the original file name of the file recovered.
    • getRecoverBackupFilename

      String getRecoverBackupFilename()
      Get the file name of the recovery backup (the original file).
    • getOriginalRecordSize

      int getOriginalRecordSize()
      Get the record size from the original file.
    • getOriginalRecordCount

      long getOriginalRecordCount()
      Get the number of records that the original file claimed that it contained. If the file is actually corrupt then there is no real reason to think that it is accurate, but it is a data point.
    • getRecoveredRecordCount

      long getRecoveredRecordCount()
      Get the number of records that the recovered file contains. This may be different from both the number of records that the original file claimed to contain as well as the number of records that recovery located while recovering depending on how corrupt the file ended up being.
    • getRecordsFound

      long getRecordsFound()
      Get the number of records that recover found in the original file. This will normally be the same as the record count of the recovered file, but it is possible that some of the records found would end up overlapping (same keys) and therefore be different. This is unlikely, but possible.
    • getOriginalSize

      long getOriginalSize()
      Get original file size. Note that this is not directly related to the number of records due to the history of file changes.
    • getRecoveredSize

      long getRecoveredSize()
      Get recovered file size. Note that this will normally be smaller than the original file size since the recovered file does not have a history of random changes.