- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for Phread (0.15 sec)
-
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) -
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) -
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) -
maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java
} } // =================================================================================================== /** * Helper class to traverse graph. Required to make the containing method thread-safe * and yet use class level data to lessen stack usage in recursion */ private class ClasspathGraphVisitor { MetadataGraph graph; ClasspathContainer cpc;
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 11:28:54 GMT 2023 - 6.3K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
} protected static File getFileForClasspathResource(String resource) throws FileNotFoundException, URISyntaxException { ClassLoader cloader = Thread.currentThread().getContextClassLoader(); URL resourceUrl = cloader.getResource(resource); if (resourceUrl == null) { throw new FileNotFoundException("Unable to find: " + resource); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 6.4K bytes - Viewed (0) -
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) -
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) -
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) -
maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleModuleBuilder.java
} if (t instanceof Error) { throw (Error) t; } } finally { session.setCurrentProject(null); Thread.currentThread().setContextClassLoader(reactorContext.getOriginalContextClassLoader()); } }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 23:31:09 GMT 2024 - 5.4K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java
if (metadataFile.length() == 0) { if (!metadataFile.delete()) { // sleep for 10ms just in case this is windows holding a file lock try { Thread.sleep(10); } catch (InterruptedException e) { // ignore } metadataFile.delete(); // if this fails, forget about it, we'll try to overwrite it anyway so no need
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 7K bytes - Viewed (0)