Skip to content

Allow file copy buffer size to be configured #111

@vpartington

Description

@vpartington

Files are copied with a fixed buffer of 4KB (because ByteStreams.copy is used) and that causes some reads and writes, e.g. those to Windows shares, to be very slow.

Allow this the buffer size to be configured to allow the user the tweak the performance.

N.B.: ByteStreams.copy is deprecated and will be removed in Guava 18.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions