Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

introduce FileChunk interface to transfer file chunks #2169

Merged
merged 1 commit into from
Jun 10, 2022

Conversation

kofemann
Copy link
Contributor

@kofemann kofemann commented Jun 8, 2022

The FileTransfer class is designed to utilize OS zero-copy capability to
write a file into a socket. However it opens and closes the file. This
might be not optimal if we need to send a ching of a file.

The introduced FileChunk interface aims to add more flexibility.

Signed-off-by: Tigran Mkrtchyan [email protected]
(cherry picked from commit 6183f9d)

The FileTransfer class is designed to utilize OS zero-copy capability to
write a file into a socket. However it opens and closes the file. This
might be not optimal if we need to send a ching of a file.

The introduced FileChunk interface aims to add more flexibility.

Signed-off-by: Tigran Mkrtchyan <[email protected]>
(cherry picked from commit 6183f9d)
@arjantijms arjantijms merged commit 21cfe6d into eclipse-ee4j:master Jun 10, 2022
@kofemann kofemann deleted the file-region-for-master branch June 11, 2022 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants