Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for Phread (0.14 sec)

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

                                    + "plugin(s) that have goals not marked as thread-safe to support parallel execution.",
                            "While this /may/ work fine, please look for plugin updates and/or "
                                    + "request plugins be made thread-safe.",
                            "If reporting an issue, report it against the plugin in question, not against Apache Maven.")) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 10.2K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

            }
        }
    
        static class OwnerReentrantLock extends ReentrantLock {
            @Override
            public Thread getOwner() {
                return super.getOwner();
            }
        }
    
        static class OwnerReentrantReadWriteLock extends ReentrantReadWriteLock {
            @Override
            public Thread getOwner() {
                return super.getOwner();
            }
        }
    
        private static void warn(String msg) {
    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)
  3. maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

        private List<File> filesToDelete = new ArrayList<>();
    
        private final String baseFilename;
    
        private final String fileSuffix;
    
        private StackTraceElement callerInfo;
    
        private Thread cleanupWarning;
    
        private boolean warnAboutCleanup = false;
    
        public TestFileManager(String baseFilename, String fileSuffix) {
            this.baseFilename = baseFilename;
            this.fileSuffix = fileSuffix;
    
    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)
  4. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

            // lookups that occur in contextualize calls in line with the right realm.
            ClassRealm oldLookupRealm = container.setLookupRealm(pluginRealm);
    
            ClassLoader oldClassLoader = Thread.currentThread().getContextClassLoader();
            Thread.currentThread().setContextClassLoader(pluginRealm);
    
            try {
                if (mojoDescriptor.isV4Api()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

     * abused as a cache (i.e. for storing values that can be re-calculated) to avoid memory exhaustion.
     * <p>
     * <strong>Note:</strong> Actual implementations must be thread-safe.
     *
     * @see Session#getData()
     * @since 4.0.0
     */
    @Experimental
    @ThreadSafe
    @Provider
    public interface SessionData {
    
        /**
         * Associates the specified session data with the given key.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                }
            };
            injector.bindInstance(Injector.class, injector);
            bind(Injector.class).toInstance(injector);
            ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
            if (classLoader == null) {
                classLoader = getClass().getClassLoader();
            }
            try {
                for (Iterator<URL> it = classLoader
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 8K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

        private final Executor executor;
    
        public DefaultArtifactResolver() {
            int threads = Integer.getInteger("maven.artifact.threads", 5);
            if (threads <= 1) {
                executor = Runnable::run;
            } else {
                executor = new ThreadPoolExecutor(
                        threads, threads, 3, TimeUnit.SECONDS, new LinkedBlockingQueue<>(), new DaemonThreadCreator());
            }
        }
    
    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)
  8. maven-core/src/test/java/org/apache/maven/plugin/internal/DefaultLegacySupportTest.java

            defaultLegacySupport.setSession(m1);
    
            MyRunnable myRunnable = new MyRunnable();
            Thread thread = new Thread(myRunnable);
            thread.start();
    
            MavenSession m2 = new MavenSession(null, null, mavenExecutionRequest, null);
            defaultLegacySupport.setSession(m2);
            latch.countDown();
            thread.join();
            assertNull(myRunnable.getSession());
        }
    
        class MyRunnable implements Runnable {
    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)
  9. maven-core/src/main/java/org/apache/maven/properties/internal/SystemProperties.java

     */
    public class SystemProperties {
        /**
         * Thread-safe System.properties copy implementation.
         */
        public static void addSystemProperties(Properties props) {
            props.putAll(getSystemProperties());
        }
    
        /**
         * Returns a copy of {@link System#getProperties()} in a thread-safe manner.
         *
         * @return {@link System#getProperties()} obtained in a thread-safe manner.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/internal/MultilineMessageHelperTest.java

            msgs.add("* as @threadSafe to support parallel building.                  *");
            msgs.add("* While this /may/ work fine, please look for plugin updates    *");
            msgs.add("* and/or request plugins be made thread-safe.                   *");
            msgs.add("* If reporting an issue, report it against the plugin in        *");
            msgs.add("* question, not against maven-core                              *");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 3.5K bytes
    - Viewed (0)
Back to top