- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for ArtifactAtRepositoryKey (0.4 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/artifacts/ArtifactAtRepositoryKey.java
return repositoryId + ":" + artifactId; } @Override public boolean equals(Object o) { if (!(o instanceof ArtifactAtRepositoryKey)) { return false; } ArtifactAtRepositoryKey other = (ArtifactAtRepositoryKey) o; return repositoryId.equals(other.repositoryId) && artifactId.equals(other.artifactId); } @Override public int hashCode() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/artifacts/ReadOnlyModuleArtifactCache.java
} @Override public void store(ArtifactAtRepositoryKey key, File artifactFile, HashCode moduleDescriptorHash) { operationShouldNotHaveBeenCalled(); } @Override public void storeMissing(ArtifactAtRepositoryKey key, List<String> attemptedLocations, HashCode descriptorHash) { operationShouldNotHaveBeenCalled(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/artifacts/TwoStageModuleArtifactCache.java
} @Override public void storeMissing(ArtifactAtRepositoryKey key, List<String> attemptedLocations, HashCode descriptorHash) { writableCache.storeMissing(key, attemptedLocations, descriptorHash); } @Nullable @Override public CachedArtifact lookup(ArtifactAtRepositoryKey key) { CachedArtifact lookup = writableCache.lookup(key); if (lookup != null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/artifacts/ModuleArtifactCache.java
*/ void store(ArtifactAtRepositoryKey key, File artifactFile, HashCode moduleDescriptorHash); /** * Record that the artifact with the given key was missing. * @param key The key to cache this resolution under in the index. * @param descriptorHash The SHA1 hash of the related moduleDescriptor */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/artifacts/InMemoryModuleArtifactCache.java
import java.io.File; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; public class InMemoryModuleArtifactCache implements ModuleArtifactCache { private final Map<ArtifactAtRepositoryKey, CachedArtifact> inMemoryCache = new ConcurrentHashMap<>(); private final BuildCommencedTimeProvider timeProvider; private final ModuleArtifactCache delegate;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/artifacts/DefaultModuleArtifactCache.java
} @Override public CachedArtifact lookup(ArtifactAtRepositoryKey key) { assertKeyNotNull(key); return super.lookup(key); } private static class ArtifactAtRepositoryKeySerializer implements Serializer<ArtifactAtRepositoryKey> { private final Serializer<ComponentArtifactIdentifier> artifactIdSerializer;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 8.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/modulecache/artifacts/DefaultModuleArtifactCacheTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:50 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/modulecache/artifacts/TwoStageModuleArtifactCacheTest.groovy
import java.nio.file.Path class TwoStageModuleArtifactCacheTest extends Specification { Path readOnlyPath = Stub(Path) File artifact = Stub(File) HashCode hashCode = Stub(HashCode) def key = Stub(ArtifactAtRepositoryKey) def readCache = Mock(ModuleArtifactCache) def writeCache = Mock(ModuleArtifactCache) @Subject def twoStageCache = new TwoStageModuleArtifactCache(readOnlyPath, readCache, writeCache)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.2K bytes - Viewed (0)