Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for buildCacheKey (0.22 sec)

  1. platforms/core-execution/build-cache-spi/src/main/java/org/gradle/caching/BuildCacheKey.java

     * limitations under the License.
     */
    
    package org.gradle.caching;
    
    /**
     * Cache key identifying an entry in the build cache.
     *
     * @since 3.3
     */
    public interface BuildCacheKey {
        /**
         * Returns the string representation of the cache key.
         */
        String getHashCode();
    
        /**
         * Returns the byte array representation of the cache key.
         *
         * @since 5.4
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:09:36 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/service/BaseRemoteBuildCacheServiceHandle.java

                this.preposition = preposition;
            }
    
            public String describe(BuildCacheKey key, BuildCacheServiceRole role) {
                return capitalizedVerb + " entry " + key.getHashCode() + " " + preposition + " " + role.getDisplayName() + " build cache";
            }
    
            public String describeFailure(BuildCacheKey key, BuildCacheServiceRole role) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 14:27:21 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. platforms/core-execution/build-cache-base/src/main/java/org/gradle/caching/internal/origin/OriginMetadata.java

    public class OriginMetadata {
    
        private final String buildInvocationId;
        private final HashCode buildCacheKey;
        private final Duration executionTime;
    
        public OriginMetadata(String buildInvocationId, HashCode buildCacheKey, Duration executionTime) {
            this.buildInvocationId = buildInvocationId;
            this.buildCacheKey = buildCacheKey;
            this.executionTime = executionTime;
        }
    
        public String getBuildInvocationId() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:13:50 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. platforms/core-execution/build-cache-spi/src/integTest/groovy/org/gradle/caching/BuildCacheServiceExtensibilityIntegrationTest.groovy

                public class Main {}
            """
    
            when:
            executer.expectDeprecationWarning("The BuildCacheKey.getDisplayName() method has been deprecated. This is scheduled to be removed in Gradle 9.0. Please use the getHashCode() method instead.")
            executer.expectDeprecationWarning("The BuildCacheKey.getDisplayName() method has been deprecated. This is scheduled to be removed in Gradle 9.0. Please use the getHashCode() method instead.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:09:36 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/operations/LoadOperationDetails.java

    import org.gradle.caching.BuildCacheKey;
    import org.gradle.caching.internal.operations.BuildCacheRemoteLoadBuildOperationType;
    
    public class LoadOperationDetails implements BuildCacheRemoteLoadBuildOperationType.Details {
    
        private final BuildCacheKey buildCacheKey;
    
        public LoadOperationDetails(BuildCacheKey buildCacheKey) {
            this.buildCacheKey = buildCacheKey;
        }
    
        @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)
  6. 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)
  7. platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/operations/StoreOperationDetails.java

    import org.gradle.caching.BuildCacheKey;
    import org.gradle.caching.internal.operations.BuildCacheRemoteStoreBuildOperationType;
    
    public class StoreOperationDetails implements BuildCacheRemoteStoreBuildOperationType.Details {
    
        private final BuildCacheKey cacheKey;
        private final long archiveSize;
    
        public StoreOperationDetails(BuildCacheKey cacheKey, long archiveSize) {
            this.cacheKey = cacheKey;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. 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)
  9. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/caching/CachingState.java

            this.delegate = delegate;
        }
    
        public static CachingState enabled(BuildCacheKey key, BeforeExecutionState beforeExecutionState) {
            return new CachingState(Either.left(new Enabled(key, beforeExecutionState)));
        }
    
        public static CachingState disabled(ImmutableList<CachingDisabledReason> disabledReasons, @Nullable BuildCacheKey key, @Nullable BeforeExecutionState beforeExecutionState) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 13:41:13 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/outputorigin/BuildCacheOutputOriginIntegrationTest.groovy

            def firstBuildCacheKey = buildCacheKey(":write")
            originBuildInvocationId(":write") == null
    
            when:
            succeeds "clean", "write"
    
            then:
            skipped ":write"
            def secondBuildId = buildInvocationId
            firstBuildId != secondBuildId
            with(origin(":write")) {
                buildInvocationId == firstBuildId
                buildCacheKey == firstBuildCacheKey
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 14:10:19 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top