public class BufferedSegmentedFile extends SegmentedFile
Modifier and Type | Class and Description |
---|---|
static class |
BufferedSegmentedFile.Builder |
channel, length, onDiskLength
Constructor and Description |
---|
BufferedSegmentedFile(ChannelProxy channel,
long length) |
Modifier and Type | Method and Description |
---|---|
FileDataInput |
getSegment(long position) |
BufferedSegmentedFile |
sharedCopy() |
createReader, createThrottledReader, dropPageCache, getBuilder, getCompressedBuilder, iterator, path, toString
close, close, isCleanedUp
public BufferedSegmentedFile(ChannelProxy channel, long length)
public FileDataInput getSegment(long position)
getSegment
in class SegmentedFile
public BufferedSegmentedFile sharedCopy()
sharedCopy
in interface SharedCloseable
sharedCopy
in class SegmentedFile
Copyright © 2015 The Apache Software Foundation