public interface CoLocationGroup
CoLocationGroup
refers to a list of JobVertex
instances, where the i-th
subtask of one vertex has to be executed on the same TaskManager
as the i-th
subtask of all other JobVertex
instances in the same group.
The co-location group is used to make sure that the i-th subtasks for iteration head and iteration tail are scheduled on the same TaskManager.
Modifier and Type | Method and Description |
---|---|
AbstractID |
getId()
Returns the unique identifier describing this co-location constraint as a group.
|
CoLocationConstraint |
getLocationConstraint(int subTaskIndex)
Returns the
CoLocationConstraint for a specific subTaskIndex . |
List<JobVertexID> |
getVertexIds()
Returns the IDs of the
JobVertex instances participating in this group. |
AbstractID getId()
List<JobVertexID> getVertexIds()
JobVertex
instances participating in this group.JobVertexID
s.CoLocationConstraint getLocationConstraint(int subTaskIndex)
CoLocationConstraint
for a specific subTaskIndex
.subTaskIndex
- The index of the subtasks for which a CoLocationConstraint
shall
be returned.CoLocationConstraint
instance.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.