Class SnapshotGroupWriteOps
java.lang.Object
io.datarouter.filesystem.snapshot.group.groupops.SnapshotGroupWriteOps
public class SnapshotGroupWriteOps extends Object
-
Constructor Summary
Constructors Constructor Description SnapshotGroupWriteOps(SnapshotGroup group, String groupId, DecodingBlockLoaderFactory decodingBlockLoaderFactory, io.datarouter.storage.file.Directory cacheDirectory, io.datarouter.storage.file.Directory idDirectory, Map<SnapshotKey,DecodingBlockLoader> decodingBlockLoaderBySnapshotKey) -
Method Summary
Modifier and Type Method Description SnapshotWriteResultwrite(SnapshotWriterConfig config, io.datarouter.scanner.Scanner<List<SnapshotEntry>> entries, ExecutorService exec, Supplier<Boolean> shouldStop)
-
Constructor Details
-
SnapshotGroupWriteOps
public SnapshotGroupWriteOps(SnapshotGroup group, String groupId, DecodingBlockLoaderFactory decodingBlockLoaderFactory, io.datarouter.storage.file.Directory cacheDirectory, io.datarouter.storage.file.Directory idDirectory, Map<SnapshotKey,DecodingBlockLoader> decodingBlockLoaderBySnapshotKey)
-
-
Method Details
-
write
public SnapshotWriteResult write(SnapshotWriterConfig config, io.datarouter.scanner.Scanner<List<SnapshotEntry>> entries, ExecutorService exec, Supplier<Boolean> shouldStop)
-