diff options
author | Sven Gothel <[email protected]> | 2014-09-25 23:51:04 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-09-25 23:51:04 +0200 |
commit | ae17a5895088e321bc373318cc1e144a2f822f29 (patch) | |
tree | 77dafc05c93082d60e2849ed1bbba25d5ef084a3 /.externalToolBuilders | |
parent | 1350823035597f784f9cf871aa487f896f3d1840 (diff) |
Bug 1080 - Add read support for memory mapped big file I/O via specialized InputStream impl., incl. mark/reset
- ByteBufferInputStream simply impl. InputStream for an arbitrary 2MiB restricted ByteBuffer
- Users may only need a smaller implementation for 'smaller' file sizes
or for streaming a [native] ByteBuffer.
- MappedByteBufferInputStream impl. InputStream for any file size,
while slicing the total size to memory mapped buffers via the given FileChannel.
The latter are mapped lazily and diff. flush/cache methods are supported
to ease virtual memory usage.
- TestByteBufferInputStream: Basic unit test for basic functionality and perf. stats.
Diffstat (limited to '.externalToolBuilders')
0 files changed, 0 insertions, 0 deletions