- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 52 for buildCacheKey (2.84 sec)
-
platforms/core-execution/build-cache/src/test/groovy/org/gradle/caching/internal/controller/DefaultBuildCacheControllerTest.groovy
package org.gradle.caching.internal.controller import com.google.common.collect.Interner import org.gradle.caching.BuildCacheEntryReader import org.gradle.caching.BuildCacheEntryWriter import org.gradle.caching.BuildCacheKey import org.gradle.caching.BuildCacheService import org.gradle.caching.internal.CacheableEntity import org.gradle.caching.internal.TestBuildCacheKey
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 05 22:18:26 UTC 2024 - 8.5K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/service/OpFiringLocalBuildCacheServiceHandle.java
} }); } private static class LocalLoadDetails implements BuildCacheLocalLoadBuildOperationType.Details { private final BuildCacheKey key; public LocalLoadDetails(BuildCacheKey key) { this.key = key; } @Override public String getCacheKey() { return key.getHashCode(); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 15 16:21:33 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/service/RemoteBuildCacheServiceHandle.java
Optional<BuildCacheLoadResult> maybeLoad(BuildCacheKey key, File toFile, Function<File, BuildCacheLoadResult> unpackFunction); boolean canStore(); /** * Stores the file to the cache. * * If canStore() returns false, then this method will do nothing and will return false. * * Returns true if store was completed. */ boolean maybeStore(BuildCacheKey key, File file); @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/core-execution/build-cache-local/src/main/java/org/gradle/caching/local/internal/DirectoryBuildCacheService.java
} @Override public boolean load(BuildCacheKey key, BuildCacheEntryReader reader) throws BuildCacheException { return cache.load(((BuildCacheKeyInternal) key).getHashCodeInternal(), reader::readFrom); } @Override public void loadLocally(BuildCacheKey key, Consumer<? super File> reader) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 07 14:32:44 UTC 2024 - 2.6K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/integTest/groovy/org/gradle/caching/internal/FinalizeBuildCacheConfigurationBuildOperationIntegrationTest.groovy
settingsFile << """ class VisibleNoOpBuildCacheService implements BuildCacheService { @Override boolean load(BuildCacheKey key, BuildCacheEntryReader reader) throws BuildCacheException { false } @Override void store(BuildCacheKey key, BuildCacheEntryWriter writer) throws BuildCacheException {} @Override void close() throws IOException {} }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 5.9K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/BuildCacheController.java
* * <p>Note that some implementations are mutable and may change behavior over the lifetime of a build.</p> */ @ServiceScope(Scope.Gradle.class) public interface BuildCacheController extends Closeable { boolean isEnabled(); Optional<BuildCacheLoadResult> load(BuildCacheKey cacheKey, CacheableEntity cacheableEntity);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 23:08:20 UTC 2024 - 1.7K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/operations/PackOperationDetails.java
package org.gradle.caching.internal.controller.operations; import org.gradle.caching.BuildCacheKey; import org.gradle.caching.internal.operations.BuildCacheArchivePackBuildOperationType; public class PackOperationDetails implements BuildCacheArchivePackBuildOperationType.Details { private final BuildCacheKey key; public PackOperationDetails(BuildCacheKey key) { this.key = key; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/service/BaseLocalBuildCacheServiceHandle.java
public boolean canStore() { return pushEnabled; } @Override public boolean maybeStore(BuildCacheKey key, File file) { if (canStore()) { storeInner(key, file); return true; } return false; } protected void storeInner(BuildCacheKey key, File file) { service.storeLocally(key, file); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 04 08:25:00 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/DefaultBuildCacheController.java
@Override public Optional<BuildCacheLoadResult> load(BuildCacheKey key, CacheableEntity entity) { Optional<BuildCacheLoadResult> result = loadLocal(key, entity); if (result.isPresent()) { return result; } return loadRemoteAndStoreResultLocally(key, entity); } private Optional<BuildCacheLoadResult> loadLocal(BuildCacheKey key, CacheableEntity entity) { try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 08 08:29:47 UTC 2024 - 14K bytes - Viewed (0) -
platforms/core-execution/build-cache-base/src/test/groovy/org/gradle/caching/internal/origin/OriginMetadataFactoryTest.groovy
buildInvocationId, { it.gradleVersion = "3.0" } ) def buildCacheKey = TestHashCodes.hashCodeFrom(1234) def "converts to origin metadata"() { def origin = new Properties() def writer = factory.createWriter("identity", CacheableEntity, buildCacheKey, Duration.ofMillis(10)) def baos = new ByteArrayOutputStream() writer.execute(baos) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 20 15:16:00 UTC 2024 - 1.9K bytes - Viewed (0)