Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for buildCacheKey (2.45 sec)

  1. subprojects/core/src/test/groovy/org/gradle/caching/internal/controller/DefaultBuildCacheControllerFactoryTest.groovy

            @Override
            void storeLocally(BuildCacheKey key, File file) {
    
            }
    
            @Override
            void loadLocally(BuildCacheKey key, Consumer<? super File> reader) {
            }
    
            @Override
            boolean load(BuildCacheKey key, BuildCacheEntryReader reader) throws BuildCacheException {
                return false
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:46:34 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/StatefulNextGenBuildCacheService.java

         *
         * @param key the cache key.
         * @return {code true} if the entry exists in the cache.
         */
        boolean contains(BuildCacheKey key);
    
        @Override
        default void store(BuildCacheKey key, BuildCacheEntryWriter legacyWriter) throws BuildCacheException {
            NextGenWriter writer;
            if (legacyWriter instanceof NextGenWriter) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 10:14:55 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildCacheKeyFixture.groovy

                            def buildCacheKey = buildCacheKeysByParentId.remove(buildOperation.id.id)
                            if (buildCacheKey != null) {
                                buildCacheKeys.put(buildOperation.details.task.getIdentityPath(), buildCacheKey)
                            }
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/CaptureOutputsAfterExecutionStepTest.groovy

            result.duration == delegateDuration
            result.afterExecutionOutputState.get().originMetadata.buildInvocationId == buildInvocationScopeId.asString()
            result.afterExecutionOutputState.get().originMetadata.buildCacheKey == buildCacheKey
            result.afterExecutionOutputState.get().originMetadata.executionTime >= result.duration
            !result.afterExecutionOutputState.get().reused
            assertOperation()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/caching/impl/DefaultBuildCacheKey.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.execution.caching.impl;
    
    import org.gradle.caching.BuildCacheKey;
    import org.gradle.caching.internal.BuildCacheKeyInternal;
    import org.gradle.internal.deprecation.DeprecationLogger;
    import org.gradle.internal.hash.HashCode;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:58 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. platforms/core-execution/build-cache-http/src/main/java/org/gradle/caching/http/internal/HttpBuildCacheService.java

    import org.gradle.api.UncheckedIOException;
    import org.gradle.caching.BuildCacheEntryReader;
    import org.gradle.caching.BuildCacheEntryWriter;
    import org.gradle.caching.BuildCacheException;
    import org.gradle.caching.BuildCacheKey;
    import org.gradle.caching.BuildCacheService;
    import org.gradle.internal.UncheckedException;
    import org.gradle.internal.resource.transport.http.HttpClientHelper;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 14:13:12 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/caching/internal/controller/impl/LifecycleAwareBuildCacheControllerFactory.java

                return getDelegate().isEnabled();
            }
    
            @Override
            public Optional<BuildCacheLoadResult> load(BuildCacheKey cacheKey, CacheableEntity cacheableEntity) {
                return getDelegate().load(cacheKey, cacheableEntity);
            }
    
            @Override
            public void store(BuildCacheKey cacheKey, CacheableEntity entity, Map<String, FileSystemSnapshot> snapshots, Duration executionTime) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:28:13 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top