Class SnapshotVacuumConfig

java.lang.Object
io.datarouter.filesystem.snapshot.group.vacuum.SnapshotVacuumConfig

public class SnapshotVacuumConfig
extends Object
  • Field Details

    • DEFAULT

      public static final SnapshotVacuumConfig DEFAULT
    • maxVersions

      public final Optional<Integer> maxVersions
      After retaining minVersions and deleting snapshots older than the ttl, delete the oldest snapshots over maxVersions
  • Constructor Details

    • SnapshotVacuumConfig

      public SnapshotVacuumConfig​(Integer minVersions, Duration ttl, Integer maxVersions)
  • Method Details