Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setParallel (1.01 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java

            boolean parallel = nThreads > 1;
            // Propagate the parallel flag to the root session and all the cloned sessions in each project segment
            session.setParallel(parallel);
            for (ProjectSegment segment : projectBuilds) {
                segment.getSession().setParallel(parallel);
            }
            ExecutorService executor = Executors.newFixedThreadPool(nThreads, new BuildThreadFactory());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 16 03:42:09 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                        session.getRequest().getDegreeOfConcurrency(),
                        session.getProjects().size());
                // Propagate the parallel flag to the root session
                session.setParallel(threads > 1);
                this.executor = new PhasingExecutor(Executors.newFixedThreadPool(threads, new BuildThreadFactory()));
    
                // build initial plan
                this.plan = buildInitialPlan(taskSegments);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 55.1K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

        }
    
        public Instant getStartInstant() {
            return request.getStartInstant();
        }
    
        public boolean isParallel() {
            return parallel;
        }
    
        public void setParallel(boolean parallel) {
            this.parallel = parallel;
        }
    
        public RepositorySystemSession getRepositorySession() {
            return repositorySystemSession;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 16.7K bytes
    - Viewed (0)
Back to top