|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cassandra.streaming.StreamInManager
public class StreamInManager
each context gets its own StreamInManager. So there may be >1 StreamInManager per host
Field Summary | |
---|---|
static com.google.common.collect.Multimap<StreamContext,PendingFile> |
activeStreams
|
static com.google.common.collect.Multimap<java.net.InetAddress,StreamContext> |
sourceHosts
|
Method Summary | |
---|---|
void |
addFilesToRequest(java.util.List<PendingFile> pendingFiles)
|
void |
finishAndRequestNext(PendingFile lastFile)
Complete the transfer process of the existing file and then request the next file in the list |
static StreamInManager |
get(StreamContext context)
|
static java.util.List<PendingFile> |
getIncomingFiles(java.net.InetAddress host)
query the status of incoming files. |
static java.util.Set<StreamContext> |
getSources()
query method to determine which hosts are streaming to this node. |
void |
remove()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final com.google.common.collect.Multimap<StreamContext,PendingFile> activeStreams
public static final com.google.common.collect.Multimap<java.net.InetAddress,StreamContext> sourceHosts
Method Detail |
---|
public static StreamInManager get(StreamContext context)
public void addFilesToRequest(java.util.List<PendingFile> pendingFiles)
public void finishAndRequestNext(PendingFile lastFile)
public void remove()
public static java.util.Set<StreamContext> getSources()
public static java.util.List<PendingFile> getIncomingFiles(java.net.InetAddress host)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |