Class Journal


  • public final class Journal
    extends java.lang.Object
    Class representing a journal used by the backwards compatibility test.
    • Method Detail

      • isBackup

        public boolean isBackup()
        Returns:
        whether this is a journal backup, as opposed to a full journal directory
      • getDir

        public java.lang.String getDir()
        Returns:
        the absolute directory of the journal
      • getVersion

        public Version getVersion()
        Returns:
        the version of the journal
      • parse

        public static java.util.Optional<Journal> parse​(java.lang.String path)
        Parameters:
        path - an absolute path of an Alluxio journal or journal backup
        Returns:
        the constructed Journal