Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for concurrencia (0.2 sec)

  1. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

         * We also lock on a given project to forbid a forked lifecycle to be executed concurrently with the project.
         * TODO: ideally, the builder should take care of the ordering in a smarter way
         * TODO: and concurrency issues fixed with MNG-7157
         */
        private class ProjectLock implements AutoCloseable {
            final Lock acquiredAggregatorLock;
            final OwnerReentrantLock acquiredProjectLock;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/singlethreaded/SingleThreadedBuilder.java

    /**
     * <p>
     * A {@link Builder} encapsulates a strategy for building a set of Maven projects. The default strategy in Maven builds
     * the projects serially, but a {@link Builder} can employ any type of concurrency model to build the projects.
     */
    @Named("singlethreaded")
    @Singleton
    public class SingleThreadedBuilder implements Builder {
        private final LifecycleModuleBuilder lifecycleModuleBuilder;
    
        @Inject
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DependencyContext.java

     * </p>
     * <strong>NOTE:</strong> This class is not part of any public api and can be changed or deleted without prior notice.
     *
     * @since 3.0
     */
    // TODO From a concurrency perspective, this class is not good. The combination of mutable/immutable state is not nice
    public class DependencyContext {
    
        private final MavenProject project;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/Builder.java

    /**
     * <p>
     * A {@link Builder} encapsulates a strategy for building a set of Maven projects. The default strategy in Maven builds
     * the projects serially, but a {@link Builder} can employ any type of concurrency model to build the projects.
     * </p>
     * <strong>Note:</strong> This interface is part of work in progress and can be changed or removed without notice.
     */
    public interface Builder {
        //
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 2K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        String getMakeBehavior();
    
        /**
         * Set's the parallel degree of concurrency used by the build.
         *
         * @param degreeOfConcurrency
         */
        void setDegreeOfConcurrency(int degreeOfConcurrency);
    
        /**
         * @return the degree of concurrency for the build.
         */
        int getDegreeOfConcurrency();
    
        // Recursive (really to just process the top-level POM)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Dec 20 13:03:57 GMT 2023
    - 17.7K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java

    import org.slf4j.LoggerFactory;
    
    /**
     * Builds the full lifecycle in weave-mode (phase by phase as opposed to project-by-project).
     * <p>
     * This builder uses a number of threads equal to the minimum of the degree of concurrency (which is the thread count
     * set with <code>-T</code> on the command-line) and the number of projects to build. As such, building a single project
     * will always result in a sequential build, regardless of the thread count.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 9.4K bytes
    - Viewed (0)
Back to top