|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
org.apache.cassandra.io.util.AbstractDataInput
org.apache.cassandra.io.util.MemoryInputStream
public class MemoryInputStream
Constructor Summary | |
---|---|
MemoryInputStream(FreeableMemory mem)
|
Method Summary | |
---|---|
void |
close()
|
protected int |
getPosition()
|
int |
read()
|
protected void |
seekInternal(int pos)
|
int |
skipBytes(int n)
|
Methods inherited from class org.apache.cassandra.io.util.AbstractDataInput |
---|
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF |
Methods inherited from class java.io.InputStream |
---|
available, mark, markSupported, read, read, reset, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MemoryInputStream(FreeableMemory mem)
Method Detail |
---|
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
protected void seekInternal(int pos)
seekInternal
in class AbstractDataInput
protected int getPosition()
getPosition
in class AbstractDataInput
public int skipBytes(int n) throws java.io.IOException
java.io.IOException
public void close()
close
in interface java.io.Closeable
close
in class java.io.InputStream
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |