- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 29 for __cache (0.14 sec)
-
maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginArtifactsCache.java
assertUniqueKey(key); CacheRecord record = new CacheRecord(Collections.unmodifiableList(new ArrayList<>(pluginArtifacts))); cache.put(key, record); return record; } protected void assertUniqueKey(Key key) { if (cache.containsKey(key)) { throw new IllegalStateException("Duplicate artifact resolution result for plugin " + key); } }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 5.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java
if (cache.containsKey(key)) { throw new IllegalStateException("Duplicate artifact resolution result for project " + key); } } @Override public void flush() { cache.clear(); } @Override public void register(MavenProject project, Key cacheKey, CacheRecord record) { // default cache does not track record usage }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 23:31:49 GMT 2024 - 8.3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelCache.java
import org.apache.maven.api.services.Source; /** * Caches auxiliary data used during model building like already processed raw/effective models. The data in the cache * is meant for exclusive consumption by the model builder and is opaque to the cache implementation. The cache key is * formed by a combination of group id, artifact id, version and tag. The first three components generally refer to the
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 1.6K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java
import java.util.Set; import java.util.function.Predicate; import org.apache.maven.api.JavaPathType; import org.apache.maven.api.PathType; /** * Cache of {@link PathModularization} instances computed for given {@link Path} elements. * The cache is used for avoiding the need to reopen the same files many times when the * same dependency is used for different scope. For example a path used for compilation
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 5.2K bytes - Viewed (0) -
maven-core/src/test/projects/plugin-manager/mng-5003-plugin-realm-cache/pom.xml
<project> <modelVersion>4.0.0</modelVersion> <groupId>org.apache.maven.its.mng5003</groupId> <artifactId>mng-5003-plugin-realm-cache</artifactId> <version>1.0</version>
XML - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Feb 04 20:48:30 GMT 2011 - 190 bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileInjector.java
/** * Handles profile injection into the model. * */ @Named @Singleton public class DefaultProfileInjector implements ProfileInjector { private static final Map<Model, Map<List<Profile>, Model>> CACHE = Collections.synchronizedMap(new WeakHashMap<>()); // In order for the weak hash map to work correctly, we must not hold any reference to
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 9.5K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java
/** * Caches raw plugin descriptors. A raw plugin descriptor is a descriptor that has just been extracted from the plugin * artifact and does not contain any runtime specific data. The cache must not be used for descriptors that hold runtime * data like the plugin realm. <strong>Warning:</strong> This is an internal utility interface that is only public for
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 23:31:49 GMT 2024 - 6K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java
// // Used by Tycho and will break users and force them to upgrade to Maven 3.1 so we should really leave // this here, possibly indefinitely. // public ArtifactResolutionRequest setCache(RepositoryCache cache) { return this; }
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) -
maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java
+ "a org.eclipse.sisu.Typed or javax.enterprise.inject.Typed annotation"); } } /** * A provider wrapping an existing provider with a cache * @param <T> the provided type */ protected static class CachingProvider<T> implements Provider<T> { private final Provider<T> provider; private volatile T value;
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Apr 23 12:52:20 GMT 2024 - 6.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryCache.java
/** * Puts the specified data into the cache. <strong>Warning:</strong> The cache will directly save the provided * reference. If the cached data is mutable, i.e. could be modified after being put into the cache, the caller is * responsible for creating a copy of the original data and store the copy in the cache. * * @param request The repository request from which this cache was retrieved, must not be {@code null}.
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 2.6K bytes - Viewed (0)