public class DirectRouter
extends java.lang.Object
Constructor and Description |
---|
DirectRouter(LogicalPlan plan,
java.util.List<java.lang.Integer> srscs,
java.util.List<java.lang.Integer> dest)
Create a direct router
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.Integer,java.util.Set<java.lang.Integer>> |
getExternalSendTasks(int source) |
java.util.Map<java.lang.Integer,java.util.Set<java.lang.Integer>> |
getInternalSendTasks(int source) |
boolean |
isLastReceiver()
Return true if this is a last receiver
|
java.util.Map<java.lang.Integer,java.util.List<java.lang.Integer>> |
receiveExpectedTaskIds() |
java.util.Set<java.lang.Integer> |
receivingExecutors() |
public DirectRouter(LogicalPlan plan, java.util.List<java.lang.Integer> srscs, java.util.List<java.lang.Integer> dest)
public java.util.Set<java.lang.Integer> receivingExecutors()
public java.util.Map<java.lang.Integer,java.util.List<java.lang.Integer>> receiveExpectedTaskIds()
public boolean isLastReceiver()
public java.util.Map<java.lang.Integer,java.util.Set<java.lang.Integer>> getInternalSendTasks(int source)
public java.util.Map<java.lang.Integer,java.util.Set<java.lang.Integer>> getExternalSendTasks(int source)