Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for Closes (0.25 sec)

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

                    currentStream.write(b, off, len);
                    currentStream.notifyAll();
                }
            }
    
            @Override
            public void close() {
                getOutputStreamForCurrentThread().close();
            }
    
            @Override
            public void flush() {
                getOutputStreamForCurrentThread().flush();
            }
    
            @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

                throws IOException;
    
        /**
         * Calculates checksums for specified stream. Upon this method returns, the stream will be depleted (fully read)
         * but not closed.
         *
         * @param stream      The stream for which to calculate checksums, must not be {@code null}.
         * @param algorithms  The checksum algorithms to use, must not be {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Dec 21 08:05:10 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenSessionBuilderSupplier.java

     * constructed instance. To create session out of builder, use {@link SessionBuilder#build()}. For proper closing
     * of sessions, use {@link CloseableSession#close()} method on built instance(s).
     * <p>
     * Extend this class and override methods to customize, if needed.
     *
     * @since 4.0.0
     */
    public class MavenSessionBuilderSupplier implements Supplier<SessionBuilder> {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

        }
    
        @Override
        public MavenSession clone() {
            try {
                MavenSession clone = (MavenSession) super.clone();
                // the default must become the current project of the thread that clones this
                MavenProject current = getCurrentProject();
                // we replace the thread local of the clone to prevent write through and enforce the new default value
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

                    .setBaseDirectory(new File(""))
                    .setLocalRepository(repo);
    
            DefaultRepositorySystemSession repositorySession =
                    new DefaultRepositorySystemSession(h -> false); // no close handle
            repositorySession.setLocalRepositoryManager(new SimpleLocalRepositoryManagerFactory()
                    .newInstance(repositorySession, new LocalRepository(repo.getUrl())));
            MavenSession session =
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                            setCorePoolSize(parallelism + parked.decrementAndGet());
                        }
                    }
                };
            }
    
            @Override
            public void close() {
                this.executor.shutdownNow();
            }
    
            private int getParallelism(ProjectBuildingRequest request) {
                int parallelism = DEFAULT_BUILDER_PARALLELISM;
                try {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  7. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/RepositorySystemSupplier.java

     * their lifecycle is shared as well: once supplied repository system is shut-down, this instance becomes closed as
     * well. Any subsequent {@code getXXX} method invocation attempt will fail with {@link IllegalStateException}.
     */
    public class RepositorySystemSupplier implements Supplier<RepositorySystem> {
        private final AtomicBoolean closed = new AtomicBoolean(false);
    
        public RepositorySystemSupplier() {}
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 43.7K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

        public Optional<Project> getExecutionProject(Project project) {
            // Session keep tracks of the Project per project id,
            // so we cannot use session.getProject(p) for forked projects
            // which are temporary clones
            return Optional.ofNullable(getMavenProject(project).getExecutionProject())
                    .map(p -> new DefaultProject(session, p));
        }
    
        private MavenProject getMavenProject(Project project) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

    import org.apache.maven.artifact.ArtifactScopeEnum;
    
    /**
     * Default conflict resolver.Implements closer newer first policy by default, but could be configured via plexus
     *
     */
    @Named
    @Singleton
    @Deprecated
    public class DefaultGraphConflictResolver implements GraphConflictResolver {
        /**
         * artifact, closer to the entry point, is selected
         */
        @Inject
        protected GraphConflictResolutionPolicy policy;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java

            requireNonNull(charset, "charset is null");
            putBytes(source.getBytes(charset), relativeTarget);
        }
    
        @Override
        public void close() {
            transporter.close();
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
Back to top