org.apache.cassandra.streaming
Class IncomingStreamReader
java.lang.Object
org.apache.cassandra.streaming.IncomingStreamReader
- Direct Known Subclasses:
- SSLIncomingStreamReader
public class IncomingStreamReader
- extends java.lang.Object
Method Summary |
void |
read()
|
protected void |
readFile()
|
protected long |
readnwrite(long length,
long bytesRead,
long offset,
java.nio.channels.FileChannel fc)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
localFile
protected final PendingFile localFile
remoteFile
protected final PendingFile remoteFile
session
protected final StreamInSession session
IncomingStreamReader
public IncomingStreamReader(StreamHeader header,
java.net.Socket socket)
throws java.io.IOException
- Throws:
java.io.IOException
read
public void read()
throws java.io.IOException
- Throws:
java.io.IOException
readFile
protected void readFile()
throws java.io.IOException
- Throws:
java.io.IOException
readnwrite
protected long readnwrite(long length,
long bytesRead,
long offset,
java.nio.channels.FileChannel fc)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2011 The Apache Software Foundation