Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for CacheKey (0.04 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/artifact/DefaultMavenMetadataCacheTest.java

            assertNotSame(lr1, lr2);
            assertNotSame(rr1, rr2);
    
            DefaultMavenMetadataCache.CacheKey k1 =
                    new DefaultMavenMetadataCache.CacheKey(a1, false, lr1, Collections.singletonList(rr1));
            DefaultMavenMetadataCache.CacheKey k2 =
                    new DefaultMavenMetadataCache.CacheKey(a2, false, lr2, Collections.singletonList(rr2));
    
            assertEquals(k1.hashCode(), k2.hashCode());
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java

        public Key createKey(Plugin plugin, List<RemoteRepository> repositories, RepositorySystemSession session) {
            return keys.computeIfAbsent(new CacheKey(plugin, repositories, session), k -> k);
        }
    
        @Override
        public PluginDescriptor get(Key cacheKey) {
            return clone(descriptors.get(cacheKey));
        }
    
        @Override
        public PluginDescriptor get(Key key, PluginDescriptorSupplier supplier)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginArtifactsCache.java

    import org.eclipse.aether.repository.WorkspaceRepository;
    
    /**
     */
    @Named
    @Singleton
    public class DefaultPluginArtifactsCache implements PluginArtifactsCache {
        /**
         * CacheKey
         */
        protected static class CacheKey implements Key {
            private final Plugin plugin;
    
            private final WorkspaceRepository workspace;
    
            private final LocalRepository localRepo;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/project/ReactorModelPool.java

     */
    class ReactorModelPool {
    
        private final Map<CacheKey, File> pomFiles = new HashMap<>();
    
        public File get(String groupId, String artifactId, String version) {
            return pomFiles.get(new CacheKey(groupId, artifactId, version));
        }
    
        public void put(String groupId, String artifactId, String version, File pomFile) {
            pomFiles.put(new CacheKey(groupId, artifactId, version), pomFile);
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

        }
    
        protected CacheKey newCacheKey(
                Artifact artifact,
                boolean resolveManagedVersions,
                ArtifactRepository localRepository,
                List<ArtifactRepository> remoteRepositories) {
            return new CacheKey(artifact, resolveManagedVersions, localRepository, remoteRepositories);
        }
    
        protected void put(CacheKey cacheKey, ResolutionGroup result) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginRealmCache.java

     * Default PluginCache implementation. Assumes cached data does not change.
     */
    @Named
    @Singleton
    public class DefaultPluginRealmCache implements PluginRealmCache, Disposable {
        /**
         * CacheKey
         */
        protected static class CacheKey implements Key {
    
            private final Plugin plugin;
    
            private final WorkspaceRepository workspace;
    
            private final LocalRepository localRepo;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. callbacks/associations.go

    									relPrimaryValues = append(relPrimaryValues, pfv)
    								}
    							}
    							cacheKey := utils.ToStringKey(relPrimaryValues...)
    							if len(relPrimaryValues) != len(rel.FieldSchema.PrimaryFields) || !identityMap[cacheKey] {
    								if cacheKey != "" { // has primary fields
    									identityMap[cacheKey] = true
    								}
    
    								distinctElems = reflect.Append(distinctElems, rv)
    							}
    						}
    					}
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Feb 13 06:16:26 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectRealmCache.java

    @Named
    @Singleton
    public class DefaultProjectRealmCache implements ProjectRealmCache, Disposable {
        /**
         * CacheKey
         */
        protected static class CacheKey implements Key {
    
            private final List<? extends ClassRealm> extensionRealms;
    
            private final int hashCode;
    
            public CacheKey(List<? extends ClassRealm> extensionRealms) {
                this.extensionRealms =
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultExtensionRealmCache.java

        /**
         * CacheKey
         */
        protected static class CacheKey implements Key {
    
            private final List<File> files;
    
            private final List<Long> timestamps;
    
            private final List<Long> sizes;
    
            private final List<String> ids;
    
            private final int hashCode;
    
            public CacheKey(List<Artifact> extensionArtifacts) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java

    import org.eclipse.aether.repository.WorkspaceRepository;
    
    /**
     */
    @Named
    @Singleton
    public class DefaultProjectArtifactsCache implements ProjectArtifactsCache {
        /**
         * CacheKey
         */
        protected static class CacheKey implements Key {
    
            private final String groupId;
    
            private final String artifactId;
    
            private final String version;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top