Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getPreviousCacheKeyIfApplicable (0.61 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/AbstractResolveCachingStateStep.java

            Logger logger = emitDebugLogging
                ? LOGGER
                : NOPLogger.NOP_LOGGER;
            CachingStateFactory cachingStateFactory = new DefaultCachingStateFactory(logger);
            HashCode cacheKey = getPreviousCacheKeyIfApplicable(context)
                .orElseGet(() -> cachingStateFactory.calculateCacheKey(beforeExecutionState));
            ImmutableList.Builder<CachingDisabledReason> cachingDisabledReasonsBuilder = ImmutableList.builder();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ResolveIncrementalCachingStateStep.java

        ) {
            super(buildCache, emitDebugLogging);
            this.delegate = delegate;
        }
    
        @Override
        protected Optional<HashCode> getPreviousCacheKeyIfApplicable(C context) {
            return context.getChanges()
                .flatMap(changes -> context.getPreviousExecutionState()
                    .filter(__ -> changes.getChangeDescriptions().isEmpty())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ResolveNonIncrementalCachingStateStep.java

            this(NoOpBuildCacheController.INSTANCE, false, delegate);
        }
    
        @Override
        protected Optional<HashCode> getPreviousCacheKeyIfApplicable(C context) {
            return Optional.empty();
        }
    
        @Override
        protected UpToDateResult executeDelegate(UnitOfWork work, C context, CachingState cachingState) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top