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