vldpyatkov commented on code in PR #6673:
URL: https://github.com/apache/ignite-3/pull/6673#discussion_r2394271524
##########
modules/file-io/src/main/java/org/apache/ignite/internal/fileio/AsyncFileIoFactory.java:
##########
@@ -20,14 +20,27 @@
import java.io.IOException;
import java.nio.file.OpenOption;
import java.nio.file.Path;
+import java.util.concurrent.ExecutorService;
/**
* {@link AsyncFileIo} factory.
*/
public class AsyncFileIoFactory implements FileIoFactory {
+ /** Async callback executor. */
+ private final ExecutorService asyncIoExecutor;
+
+ /**
+ * Constructor.
+ *
+ * @param asyncIoExecutor Async callback executor or {@code null} to use
the default pool.
+ */
+ public AsyncFileIoFactory(ExecutorService asyncIoExecutor) {
Review Comment:
I had not wanted to create a method for the test specifically.
But okay, I did.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]