public class SegmentBufferSupplier extends Object implements BufferSupplier
| Constructor and Description |
|---|
SegmentBufferSupplier(GCCloseable<FileChannel> file,
FilePos range) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
atEof() |
void |
load(ByteBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsingleBufferpublic SegmentBufferSupplier(GCCloseable<FileChannel> file, FilePos range)
public void load(ByteBuffer buf) throws IOException
load in interface BufferSupplierIOExceptionpublic boolean atEof()
throws IOException
atEof in interface BufferSupplierIOExceptionCopyright © 2017. All rights reserved.