Benedict Elliott Smith
lists at laerad.com
Fri Dec 2 11:45:04 PST 2011
I just made the fairly rookie error of assuming that
AsynchronousFileChannel would have an analagous method to
FileChannel.transferTo, but unfortunately this appears not to be the case.
Is this simply due to a lack of time, or is there some reason why it cannot
be incorporated? I have lots of disk to network transfers to perform, and
I'd rather not spawn a thread for each, but I'd equally rather not copy the
data into a buffer and straight back out again; I'd prefer for the transfer
to be straight DMA, with a callback letting me know it happened.
Are there any plans for this to be supported at any point in the future? Or
am I being completely retarded and simply missing the already present
functionality? I've searched the obvious places for information but so far
no luck, and no discussion of it I could find on the mailing lists.
Any light you can shed would be appreciated...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nio-discuss