public class CompressedThrottledReader
extends org.apache.cassandra.io.compress.CompressedRandomAccessReader
| Constructor and Description |
|---|
CompressedThrottledReader(String file,
org.apache.cassandra.io.compress.CompressionMetadata metadata,
com.google.common.util.concurrent.RateLimiter limiter) |
| Modifier and Type | Method and Description |
|---|---|
static CompressedThrottledReader |
open(String file,
org.apache.cassandra.io.compress.CompressionMetadata metadata,
com.google.common.util.concurrent.RateLimiter limiter) |
protected void |
reBuffer() |
getTotalBufferSize, length, open, open, toStringbufferCursor, bytesPastMark, bytesPastMark, bytesRemaining, close, deallocate, getFilePointer, getPath, getPosition, isEOF, mark, open, open, read, read, read, readBytes, reset, reset, resetBuffer, seek, write, write, writegetChannel, getFD, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, setLength, skipBytes, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreadBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytespublic CompressedThrottledReader(String file, org.apache.cassandra.io.compress.CompressionMetadata metadata, com.google.common.util.concurrent.RateLimiter limiter) throws FileNotFoundException
FileNotFoundExceptionprotected void reBuffer()
reBuffer in class org.apache.cassandra.io.compress.CompressedRandomAccessReaderpublic static CompressedThrottledReader open(String file, org.apache.cassandra.io.compress.CompressionMetadata metadata, com.google.common.util.concurrent.RateLimiter limiter)
Copyright © 2017 Cask Data, Inc. Licensed under the Apache License, Version 2.0.