org.apache.cassandra.streaming
Class StreamOutManager
java.lang.Object
org.apache.cassandra.streaming.StreamOutManager
public class StreamOutManager
- extends java.lang.Object
This class manages the streaming of multiple files one after the other.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
get
public static StreamOutManager get(java.net.InetAddress to)
getDestinations
public static java.util.Set<java.net.InetAddress> getDestinations()
addFilesToStream
public void addFilesToStream(org.apache.cassandra.streaming.PendingFile[] pendingFiles)
update
public void update(java.lang.String path,
long pos)
startNext
public void startNext()
finishAndStartNext
public void finishAndStartNext(java.lang.String file)
throws java.io.IOException
- Throws:
java.io.IOException
waitForStreamCompletion
public void waitForStreamCompletion()
Copyright © 2010 The Apache Software Foundation