Class TableSnapshot.SnapshotTrueSizeCalculator

  • All Implemented Interfaces:
    java.nio.file.FileVisitor<java.nio.file.Path>
    Enclosing class:
    TableSnapshot

    public static class TableSnapshot.SnapshotTrueSizeCalculator
    extends DirectorySizeCalculator
    • Constructor Detail

      • SnapshotTrueSizeCalculator

        public SnapshotTrueSizeCalculator()
    • Method Detail

      • isAcceptable

        public boolean isAcceptable​(java.nio.file.Path snapshotFilePath)
        Snapshots are composed of hard-linked sstables. The true snapshot size should only include snapshot files which do not contain a corresponding "live" sstable file.
        Overrides:
        isAcceptable in class DirectorySizeCalculator