public interface Receptor
Modifier and Type | Method and Description |
---|---|
default void |
add(java.lang.String name,
DataObject<?> data)
Deprecated.
Use
add(String, DataPartition) instead |
default void |
add(java.lang.String name,
DataPartition<?> data) |
default IONames |
getReceivableNames()
This method should return a set of receivable names, that are expected by this receptor.
|
@Deprecated default void add(java.lang.String name, DataObject<?> data)
add(String, DataPartition)
insteadname
- name of the inputdata
- input datadefault void add(java.lang.String name, DataPartition<?> data)
default IONames getReceivableNames()
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.