Flaugh24 commented on code in PR #2390:
URL: https://github.com/apache/ignite-3/pull/2390#discussion_r1296077733
##########
modules/file-transfer/src/main/java/org/apache/ignite/internal/network/file/FileTransferServiceImpl.java:
##########
@@ -112,7 +113,12 @@ public class FileTransferServiceImpl implements
FileTransferService {
/**
* Map of file handlers.
*/
- private final Map<Short, FileConsumer<Identifier>> metadataToHandler = new
ConcurrentHashMap<>();
+ private final Map<Short, FileConsumer<Identifier>> metadataToConsumer =
new ConcurrentHashMap<>();
+
+ /**
+ * Map of download requests consumers.
+ */
+ private final Map<UUID, DownloadRequestConsumer> transferIdToConsumer =
new ConcurrentHashMap<>();
Review Comment:
There is another handler:
org.apache.ignite.internal.network.file.FileTransferMessagesHandler. I want to
avoid confusion.
--
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]