Improving perf of FileChannel.transferTo() on Windows
Kirk Shoop (MS OPEN TECH)
Kirk.Shoop at microsoft.com
Fri Oct 17 17:40:14 UTC 2014
From: Valery Kopylov (Akvelon)
Issue 2: transferTo() is now working only synchronously.
Solution: We could always open socket with WSA_FLAG_OVERLAPPED option - it does not make all socket operations asynchronous by default, just allows that. Then transferTo() is called in overlapping mode or not, depending on socket mode that has been selected in configureBlocking().
How would the Java code calling transferTo be notified that the transferTo had completed?
Kirk
Developer
Microsoft Open Technologies, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20141017/20411a5a/attachment-0001.html>
More information about the nio-dev
mailing list