Class SnapshotGroupVacuumOps
java.lang.Object
io.datarouter.filesystem.snapshot.group.groupops.SnapshotGroupVacuumOps
public class SnapshotGroupVacuumOps
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description SnapshotGroupVacuumOps(SnapshotGroup group, java.lang.String groupId, io.datarouter.storage.file.Directory fileDirectory, SnapshotKeyDecoder snapshotKeyDecoder, SnapshotVacuumConfig vacuumConfig, SnapshotGroupFileReadOps groupFileReader, SnapshotGroupKeyReadOps groupReader) -
Method Summary
Modifier and Type Method Description voidvacuum(java.util.concurrent.ExecutorService exec, int numThreads)voidvacuumOrphanedFilesOlderThan(java.time.Duration duration)
-
Constructor Details
-
SnapshotGroupVacuumOps
public SnapshotGroupVacuumOps(SnapshotGroup group, java.lang.String groupId, io.datarouter.storage.file.Directory fileDirectory, SnapshotKeyDecoder snapshotKeyDecoder, SnapshotVacuumConfig vacuumConfig, SnapshotGroupFileReadOps groupFileReader, SnapshotGroupKeyReadOps groupReader)
-
-
Method Details
-
vacuum
public void vacuum(java.util.concurrent.ExecutorService exec, int numThreads) -
vacuumOrphanedFilesOlderThan
public void vacuumOrphanedFilesOlderThan(java.time.Duration duration)
-