Class SnapshotVacuumConfig
java.lang.Object
io.datarouter.filesystem.snapshot.group.vacuum.SnapshotVacuumConfig
public class SnapshotVacuumConfig extends Object
-
Field Summary
Fields Modifier and Type Field Description static SnapshotVacuumConfigDEFAULTOptional<Integer>maxVersionsAfter retaining minVersions and deleting snapshots older than the ttl, delete the oldest snapshots over maxVersions -
Constructor Summary
Constructors Constructor Description SnapshotVacuumConfig(Integer minVersions, Duration ttl, Integer maxVersions) -
Method Summary
Modifier and Type Method Description intgetMinVersions()Optional<Integer>optMaxVersions()Optional<Duration>optTtl()
-
Field Details
-
DEFAULT
-
maxVersions
After retaining minVersions and deleting snapshots older than the ttl, delete the oldest snapshots over maxVersions
-
-
Constructor Details
-
SnapshotVacuumConfig
-
-
Method Details
-
getMinVersions
public int getMinVersions() -
optTtl
-
optMaxVersions
-