- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 52 for Phread (0.45 sec)
-
api/maven-api-meta/src/main/java/org/apache/maven/api/annotations/NotThreadSafe.java
import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * This annotation indicates that the annotated type is <strong>not</strong> threadsafe * and should only be used by a single thread. * * @see ThreadSafe * @since 4.0.0 */ @Experimental @Documented @Retention(RetentionPolicy.CLASS) @Target(ElementType.TYPE)
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Mar 23 05:29:39 GMT 2023 - 1.3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProcessor.java
exceptions.add(e); } } try { return doRead(request); } catch (IOException e) { exceptions.forEach(e::addSuppressed); throw e; } } else { return doRead(request); } } private Path doLocateExistingPom(Path project) { if (project == null) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 5.8K bytes - Viewed (0) -
maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/RepositorySystemSupplier.java
* memorized and kept as long as supplier instance is kept open. * <p> * This class is not thread safe and must be used from one thread only, while the constructed {@link RepositorySystem} * is thread safe. * <p> * Important: Given the instance of supplier memorizes the supplier {@link RepositorySystem} instance it supplies,
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) -
maven-core/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 Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 6.7K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/resolver/MavenChainedWorkspaceReader.java
* <p> * This class, while technically is not immutable, should be considered as such once set up. If not mutated, it is also * thread-safe. The mutation of this class instances should happen beforehand their use in session. */ public class MavenChainedWorkspaceReader implements MavenWorkspaceReader { protected List<WorkspaceReader> readers;
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 5.6K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/internal/BuildThreadFactory.java
/** * Simple {@link ThreadFactory} implementation that ensures the corresponding threads have a meaningful name. */ 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) -
maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java
} ClassLoader oldClassLoader = Thread.currentThread().getContextClassLoader(); try { Thread.currentThread().setContextClassLoader(pluginDescriptor.getClassRealm()); return container.lookup(role, roleHint); } finally { Thread.currentThread().setContextClassLoader(oldClassLoader); } }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 11:28:54 GMT 2023 - 10K bytes - Viewed (0) -
api/maven-api-meta/src/main/java/org/apache/maven/api/annotations/ThreadSafe.java
import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * The {@code ThreadSafe} annotation can be used to indicate a given type * is thread safe. {@link Immutable} objects are automatically thread safe. * * @see Immutable * @see NotThreadSafe * @since 4.0.0 */ @Experimental @Documented @Retention(RetentionPolicy.CLASS) @Target(ElementType.TYPE)
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Mar 23 05:29:39 GMT 2023 - 1.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java
Set<Artifact> projectArtifacts) throws LifecycleExecutionException { ClassLoader tccl = Thread.currentThread().getContextClassLoader(); try { ClassLoader projectRealm = project.getClassRealm(); if (projectRealm != null && projectRealm != tccl) { Thread.currentThread().setContextClassLoader(projectRealm); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 23:31:49 GMT 2024 - 15.6K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestFileWagon.java
import org.apache.maven.wagon.providers.file.FileWagon; import org.apache.maven.wagon.resource.Resource; /** * Wagon used for test cases that annotate some methods. Note that this is not a thread-safe implementation. */ public class TestFileWagon extends FileWagon { private TestTransferListener testTransferListener; private boolean insideGet; @Deprecated
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 2.8K bytes - Viewed (0)