Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 336 for executor (0.09 sec)

  1. maven-core/lifecycle-executor.txt

    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-resources-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>process</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      .
      .
      .
    </plugins>
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jul 18 17:22:19 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java

            for (ProjectSegment segment : projectBuilds) {
                segment.getSession().setParallel(parallel);
            }
            ExecutorService executor = Executors.newFixedThreadPool(nThreads, new BuildThreadFactory());
            CompletionService<ProjectSegment> service = new ExecutorCompletionService<>(executor);
    
            // Currently disabled
            ThreadOutputMuxer muxer = null; // new ThreadOutputMuxer( analyzer.getProjectBuilds(), System.out );
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 09:07:17 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  3. maven-jline/src/main/java/org/apache/maven/jline/FastTerminal.java

        final Future<Terminal> terminal;
    
        public FastTerminal(Callable<Terminal> builder, Consumer<Terminal> consumer) {
            ExecutorService executor = Executors.newSingleThreadExecutor();
            terminal = executor.submit(() -> {
                try {
                    Terminal terminal = builder.call();
                    consumer.accept(terminal);
                    return terminal;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Apr 03 17:49:40 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ThreadOutputMuxerTest.java

                    "hand");
            Iterator<String> lyrics = stringList.iterator();
    
            ExecutorService executor = Executors.newFixedThreadPool(10);
            CompletionService<ProjectSegment> service = new ExecutorCompletionService<>(executor);
    
            List<Future<ProjectSegment>> futures = new ArrayList<>();
            for (ProjectSegment projectBuild : projectBuildList) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

        @Inject
        private LegacySupport legacySupport;
    
        private final Executor executor;
    
        public DefaultArtifactResolver() {
            int threads = Integer.getInteger("maven.artifact.threads", 5);
            if (threads <= 1) {
                executor = Runnable::run;
            } else {
                executor = new ThreadPoolExecutor(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/lifecycle/internal/LifecycleExecutionPlanCalculatorTest.java

                    new LifecyclePluginResolver(new PluginVersionResolverStub()));
        }
    
        @Override
        protected String getProjectsDirectory() {
            return "src/test/projects/lifecycle-executor";
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorSubModulesTest.java

        @Inject
        private ExceptionHandler exceptionHandler;
    
        protected String getProjectsDirectory() {
            return "src/test/projects/lifecycle-executor";
        }
    
        @Test
        void testCreation() throws Exception {
            assertNotNull(defaultLifeCycles);
            assertNotNull(mojoExecutor);
            assertNotNull(lifeCycleBuilder);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/MavenLifecycleParticipantTest.java

    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.List;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.execution.MavenExecutionRequest;
    import org.apache.maven.execution.MavenExecutionResult;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.model.Dependency;
    import org.apache.maven.project.MavenProject;
    import org.codehaus.plexus.PlexusContainer;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 6K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

            }
    
            ExecutorService createExecutor(int parallelism) {
                //
                // We need an executor that will not block.
                // We can't use work stealing, as we are building a graph
                // and this could lead to cycles where a thread waits for
                // a task to finish, then execute another one which waits
                // for the initial task...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 16:34:29 UTC 2024
    - 57.1K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java

    import org.apache.maven.api.xml.XmlNode;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.execution.MojoExecutionEvent;
    import org.apache.maven.execution.MojoExecutionListener;
    import org.apache.maven.execution.ProjectDependencyGraph;
    import org.apache.maven.execution.ProjectExecutionEvent;
    import org.apache.maven.execution.ProjectExecutionListener;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 09 20:57:17 UTC 2024
    - 24.7K bytes
    - Viewed (0)
Back to top