Class SplitIndexSnapshotManager

java.lang.Object
com.atlassian.confluence.upgrade.upgradetask.splitindex.SplitIndexSnapshotManager

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

  • Method Details

    • 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()