public class CompressedThrottledReader extends CompressedRandomAccessReader
RandomAccessReader.BufferedRandomAccessFileMarkDataInputPlus.DataInputStreamPlusbuffer, bufferOffset, channel, DEFAULT_BUFFER_SIZE, markedPointer| Constructor and Description |
|---|
CompressedThrottledReader(ChannelProxy channel,
CompressionMetadata metadata,
ICompressedFile file,
com.google.common.util.concurrent.RateLimiter limiter) |
| Modifier and Type | Method and Description |
|---|---|
static CompressedThrottledReader |
open(ICompressedFile file,
com.google.common.util.concurrent.RateLimiter limiter) |
protected void |
reBuffer()
Read data from file starting from current currentOffset to populate buffer.
|
close, getBufferSize, getTotalBufferSize, length, open, open, toStringallocateBuffer, bytesPastMark, bytesPastMark, bytesRemaining, current, getChannel, getFilePointer, getPath, getPosition, getPositionLimit, isEOF, mark, open, open, open, read, read, read, readBytes, reset, reset, seekreadBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreadUnsignedVInt, readVIntpublic CompressedThrottledReader(ChannelProxy channel, CompressionMetadata metadata, ICompressedFile file, com.google.common.util.concurrent.RateLimiter limiter)
protected void reBuffer()
RandomAccessReaderreBuffer in class CompressedRandomAccessReaderpublic static CompressedThrottledReader open(ICompressedFile file, com.google.common.util.concurrent.RateLimiter limiter)
Copyright © 2015 The Apache Software Foundation