|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cassandra.streaming.StreamIn
public class StreamIn
for streaming data from other nodes in to this one
Constructor Summary | |
---|---|
StreamIn()
|
Method Summary | |
---|---|
static PendingFile |
getContextMapping(PendingFile remote)
Translates remote files to local files by creating a local sstable per remote sstable. |
static void |
requestFile(StreamContext context,
PendingFile file)
Request for transferring a single file. |
static void |
requestRanges(java.net.InetAddress source,
java.lang.String tableName,
java.util.Collection<Range> ranges)
Request ranges to be transferred from source to local node |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StreamIn()
Method Detail |
---|
public static void requestRanges(java.net.InetAddress source, java.lang.String tableName, java.util.Collection<Range> ranges)
public static void requestFile(StreamContext context, PendingFile file)
file
- Pending File that needs to be transferredpublic static PendingFile getContextMapping(PendingFile remote) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |