Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getDegreeOfConcurrency (0.07 sec)

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

                ReactorBuildStatus reactorBuildStatus)
                throws ExecutionException, InterruptedException {
            int nThreads = Math.min(
                    session.getRequest().getDegreeOfConcurrency(),
                    session.getProjects().size());
            boolean parallel = nThreads > 1;
            // Propagate the parallel flag to the root session and all the cloned sessions in each project segment
    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

                this.session = session;
                this.reactorContext = reactorContext;
                this.threads = Math.min(
                        session.getRequest().getDegreeOfConcurrency(),
                        session.getProjects().size());
                // Propagate the parallel flag to the root session
                session.setParallel(threads > 1);
    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. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        /**
         * Returns the degree of concurrency for the build.
         *
         * @return  the degree of concurrency
         */
        int getDegreeOfConcurrency();
    
        /**
         * Retrieves a list of projects associated with the session.
         *
         * @return a list of projects, never {@code null}
         */
        @Nonnull
        List<Project> getProjects();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 36.5K bytes
    - Viewed (0)
Back to top