Class CoLocationConstraint
- java.lang.Object
-
- org.apache.flink.runtime.jobmanager.scheduler.CoLocationConstraint
-
public class CoLocationConstraint extends Object
ACoLocationConstraintstores the ID ofCoLocationGroupand an ID referring to the actual subtask (i.e.ExecutionVertex). In co-location groups, the different subtasks of differentJobVertexinstances need to be executed on the same slot. This is realized by creating a special shared slot that holds these tasks.