Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for submit (0.18 sec)

  1. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/CompletionServiceStub.java

        }
    
        public Future<ProjectSegment> submit(Callable<ProjectSegment> task) {
            FutureTask<ProjectSegment> projectBuildFutureTask = new FutureTask<>(task);
            projectBuildFutureTasks.add(projectBuildFutureTask);
            if (finishImmediately) {
                projectBuildFutureTask.run();
            }
            return projectBuildFutureTask;
        }
    
        public Future<ProjectSegment> submit(Runnable task, ProjectSegment result) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/project/ProjectModelResolver.java

                            } finally {
                                pool.shutdown();
                            }
                            return true;
                        }
                    };
                    pool.submit(task);
                    return task;
                });
                result = future.get();
            } catch (Exception e) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java

                    Map<Path, String> names = new HashMap<>();
                    try (Stream<Path> subdirs = Files.list(file)) {
                        subdirs.filter(Files::isDirectory).forEach((subdir) -> {
                            Path mf = subdir.resolve(MODULE_INFO);
                            if (Files.isRegularFile(mf)) {
                                String name = null;
                                if (resolve) {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/Graph.java

                        // we are already visiting this vertex, this mean we have a cycle
                        int pos = cycle.lastIndexOf(v);
                        List<String> ret = cycle.subList(pos, cycle.size());
                        ret.add(v);
                        return ret;
                    }
                }
            }
            return null;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/Graph.java

                } else if (state == DfsState.VISITING) {
                    // we are already visiting this vertex, this mean we have a cycle
                    int pos = cycle.lastIndexOf(v.label);
                    List<String> ret = cycle.subList(pos, cycle.size());
                    ret.add(v.label);
                    return ret;
                }
            }
            return null;
        }
    
        static class Vertex {
            final String label;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java

                Callable<ProjectSegment> cb = createBuildCallable(
                        rootSession, projectSegment, reactorContext, taskSegment, muxer, duplicateArtifactIds);
                service.submit(cb);
            }
    
            // for each finished project
            for (int i = 0; i < analyzer.getNumberOfBuilds(); i++) {
                try {
                    ProjectSegment projectBuild = service.take().get();
    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)
  7. maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ThreadOutputMuxerTest.java

            List<Future<ProjectSegment>> futures = new ArrayList<>();
            for (ProjectSegment projectBuild : projectBuildList) {
                final Future<ProjectSegment> buildFuture =
                        service.submit(new Outputter(threadOutputMuxer, projectBuild, lyrics.next()));
                futures.add(buildFuture);
            }
    
            for (Future<ProjectSegment> future : futures) {
                future.get();
            }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularization.java

                    Map<Path, String> names = new HashMap<>();
                    try (Stream<Path> subdirs = Files.list(file)) {
                        subdirs.filter(Files::isDirectory).forEach((subdir) -> {
                            Path mf = subdir.resolve(MODULE_INFO);
                            if (Files.isRegularFile(mf)) {
                                String name = null;
                                if (resolve) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java

                            continue;
                        }
                        subdir = path;
                    }
                    // When the same module is found in main and test output, the latter is patching the former.
                    addPathElement(JavaPathType.patchModule(moduleName), subdir);
                    addToClasspath = false;
                }
                /*
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java

                            continue;
                        }
                        subdir = path;
                    }
                    // When the same module is found in main and test output, the latter is patching the former.
                    addPathElement(JavaPathType.patchModule(moduleName), subdir);
                    addToClasspath = false;
                }
                /*
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 14.2K bytes
    - Viewed (0)
Back to top