public abstract class PoolingSegmentedFile extends SegmentedFile
| Modifier and Type | Class and Description |
|---|---|
protected static class |
PoolingSegmentedFile.Cleanup |
SegmentedFile.Builderlength, onDiskLength, path| Modifier | Constructor and Description |
|---|---|
protected |
PoolingSegmentedFile(PoolingSegmentedFile.Cleanup cleanup,
java.lang.String path,
long length) |
protected |
PoolingSegmentedFile(PoolingSegmentedFile.Cleanup cleanup,
java.lang.String path,
long length,
long onDiskLength) |
|
PoolingSegmentedFile(PoolingSegmentedFile copy) |
| Modifier and Type | Method and Description |
|---|---|
protected RandomAccessReader |
createPooledReader() |
FileDataInput |
getSegment(long position) |
void |
recycle(RandomAccessReader reader) |
createReader, createThrottledReader, dropPageCache, getBuilder, getCompressedBuilder, getCompressedBuilder, iterator, sharedCopy, toStringclose, isCleanedUpprotected PoolingSegmentedFile(PoolingSegmentedFile.Cleanup cleanup, java.lang.String path, long length)
protected PoolingSegmentedFile(PoolingSegmentedFile.Cleanup cleanup, java.lang.String path, long length, long onDiskLength)
public PoolingSegmentedFile(PoolingSegmentedFile copy)
public FileDataInput getSegment(long position)
getSegment in class SegmentedFileprotected RandomAccessReader createPooledReader()
public void recycle(RandomAccessReader reader)
Copyright © 2015 The Apache Software Foundation