Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for Runnable (0.17 sec)

  1. maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

            this.fileSuffix = fileSuffix;
    
            initializeCleanupMonitoring();
        }
    
        private void initializeCleanupMonitoring() {
            callerInfo = new NullPointerException().getStackTrace()[2];
    
            Runnable warning = this::maybeWarnAboutCleanUp;
    
            cleanupWarning = new Thread(warning);
    
            Runtime.getRuntime().addShutdownHook(cleanupWarning);
        }
    
        private void maybeWarnAboutCleanUp() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            public Thread newThread(Runnable r) {
                Thread newThread = new Thread(GROUP, r, "resolver-" + THREAD_NUMBER.getAndIncrement());
                newThread.setDaemon(true);
                newThread.setContextClassLoader(null);
                return newThread;
            }
        }
    
        private class ResolveTask implements Runnable {
    
            private final ClassLoader classLoader;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 24.8K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/plugin/internal/DefaultLegacySupportTest.java

            defaultLegacySupport.setSession(m2);
            latch.countDown();
            thread.join();
            assertNull(myRunnable.getSession());
        }
    
        class MyRunnable implements Runnable {
    
            private volatile MavenSession session;
    
            public void run() {
                try {
                    latch.await();
                } catch (InterruptedException ignore) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/CompletionServiceStub.java

            if (finishImmediately) {
                projectBuildFutureTask.run();
            }
            return projectBuildFutureTask;
        }
    
        public Future<ProjectSegment> submit(Runnable task, ProjectSegment result) {
            FutureTask<ProjectSegment> projectBuildFutureTask = new FutureTask<>(task, result);
            projectBuildFutureTasks.add(projectBuildFutureTask);
            if (finishImmediately) {
    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)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ThreadOutputMuxer.java

        private final PrintStream originalSystemOUtStream;
    
        private final ConsolePrinter printer;
    
        /**
         * A simple but safe solution for printing to the console.
         */
        class ConsolePrinter implements Runnable {
            private volatile boolean running;
    
            private final ProjectBuildList projectBuildList;
    
            ConsolePrinter(ProjectBuildList projectBuildList) {
                this.projectBuildList = projectBuildList;
    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)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/internal/BuildThreadFactory.java

    public class BuildThreadFactory implements ThreadFactory {
        private final AtomicInteger id = new AtomicInteger();
    
        private static final String PREFIX = "BuilderThread";
    
        @Override
        public Thread newThread(Runnable r) {
            return new Thread(r, String.format("%s-%d", PREFIX, id.getAndIncrement()));
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

            final MavenProject project = mavenProject;
            final AtomicInteger artifactsResultInAnotherThread = new AtomicInteger();
            Thread t = new Thread(new Runnable() {
                @Override
                public void run() {
                    artifactsResultInAnotherThread.set(project.getArtifacts().size());
                }
            });
            t.start();
            t.join();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Nov 28 17:17:10 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  8. maven-api-impl/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    capitalizeFirstLette(String); public static String lowercaseFirstLetter(String); public static String addAndDeHump(String); } org/codehaus/plexus/util/SweeperPool$Sweeper.class package org.codehaus.plexus.util; synchronized class SweeperPool$Sweeper implements Runnable { private final transient SweeperPool pool; private transient boolean service; private final transient int sweepInterval; public void SweeperPool$Sweeper(SweeperPool, int); public void run(); public synchronized void start(); public synchronized...
    Archive
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 164.6K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/apiv4-repo/junit/junit/4.13.1/junit-4.13.1.jar

    synchronized class ClassRoadie { private org.junit.runner.notification.RunNotifier notifier; private TestClass testClass; private org.junit.runner.Description description; private final Runnable runnable; public void ClassRoadie(org.junit.runner.notification.RunNotifier, TestClass, org.junit.runner.Description, Runnable); protected void runUnprotected(); protected void addFailure(Throwable); public void runProtected(); private void runBefores() throws FailedBefore; private void runAfters(); } org/ju...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 373.7K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelVersionParser.java

                try {
                    this.delegate = versionScheme.parseVersion(delegateValue);
                } catch (InvalidVersionSpecificationException e) {
                    throw new VersionParserException("Unable to parse version: " + delegateValue, e);
                }
            }
    
            @Override
            public int compareTo(Version o) {
                if (o instanceof DefaultVersion) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.4K bytes
    - Viewed (0)
Back to top