|
||||||||||
| 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 |
| Methods inherited from interface java.io.DataInput |
|---|
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF |
| Constructor Detail |
|---|
public MemoryInputStream(FreeableMemory mem)
| Method Detail |
|---|
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionprotected void seekInternal(int pos)
seekInternal in class AbstractDataInputprotected int getPosition()
getPosition in class AbstractDataInput
public int skipBytes(int n)
throws java.io.IOException
skipBytes in interface java.io.DataInputjava.io.IOExceptionpublic void close()
close in interface java.io.Closeableclose in class java.io.InputStream
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||