public abstract class BaseOp extends java.lang.Object implements Receptor, java.io.Serializable
TSetContext
.Modifier | Constructor and Description |
---|---|
protected |
BaseOp() |
protected |
BaseOp(BaseTSet originTSet) |
protected |
BaseOp(BaseTSet originTSet,
java.util.Map<java.lang.String,java.lang.String> receivableTSets) |
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String key,
DataPartition<?> data) |
IONames |
getReceivableNames()
This method should return a set of receivable names, that are expected by this receptor.
|
protected TSetContext |
gettSetContext() |
protected BaseOp()
protected BaseOp(BaseTSet originTSet)
protected BaseOp(BaseTSet originTSet, java.util.Map<java.lang.String,java.lang.String> receivableTSets)
public void add(java.lang.String key, DataPartition<?> data)
public IONames getReceivableNames()
Receptor
If Collector
C of task graph TG1 collects variable "var1" and C's parallelism is n, If
Receptor
R of task graph TG2 is interested in receiving "var1", R's parallelism should
be equal to n and, R should have the same distribution as C among the workers.
getReceivableNames
in interface Receptor
protected TSetContext gettSetContext()