Class CoLocationConstraint


  • public class CoLocationConstraint
    extends Object
    A CoLocationConstraint stores the ID of CoLocationGroup and an ID referring to the actual subtask (i.e. ExecutionVertex). In co-location groups, the different subtasks of different JobVertex instances need to be executed on the same slot. This is realized by creating a special shared slot that holds these tasks.