Class SplitIndexSnapshotManager


  • public class SplitIndexSnapshotManager
    extends Object
    This class is helping SplitIndexUpgradeTask to manipulate snapshots from Shared Home
    Since:
    7.9.0
    • Method Detail

      • needsSnapshotRestoration

        public boolean needsSnapshotRestoration​(File contentDirectory)
      • hasSuitableContentSnapshot

        public boolean hasSuitableContentSnapshot()
      • hasSuitableChangeSnapshot

        public boolean hasSuitableChangeSnapshot()
      • estimatedUnpackedLatestSnapshotSizeBytes

        public long estimatedUnpackedLatestSnapshotSizeBytes()
      • unpackedFileSize

        public long unpackedFileSize​(Path path)
      • restoreLatestContentSnapshot

        public void restoreLatestContentSnapshot()
      • restoreLatestChangeSnapshot

        public void restoreLatestChangeSnapshot()
      • shouldTakeNewSnapshot

        public boolean shouldTakeNewSnapshot​(File contentDirectory)
      • takeNewSnapshot

        public void takeNewSnapshot()