summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-09-25 23:51:04 +0200
committerSven Gothel <[email protected]>2014-09-25 23:51:04 +0200
commitae17a5895088e321bc373318cc1e144a2f822f29 (patch)
tree77dafc05c93082d60e2849ed1bbba25d5ef084a3 /doc
parent1350823035597f784f9cf871aa487f896f3d1840 (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 'doc')
0 files changed, 0 insertions, 0 deletions