public class EdgeManagerBuildUtil extends Object
EdgeManager
.Constructor and Description |
---|
EdgeManagerBuildUtil() |
Modifier and Type | Method and Description |
---|---|
static int |
computeMaxEdgesToTargetExecutionVertex(int targetParallelism,
int sourceParallelism,
DistributionPattern distributionPattern)
Given parallelisms of two job vertices, compute the max number of edges connected to a target
execution vertex from the source execution vertices.
|
public static int computeMaxEdgesToTargetExecutionVertex(int targetParallelism, int sourceParallelism, DistributionPattern distributionPattern)
targetParallelism
- parallelism of the target job vertex.sourceParallelism
- parallelism of the source job vertex.distributionPattern
- the DistributionPattern
of the connecting edge.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.