Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isAllowedToLoadFromCache (0.28 sec)

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

            CacheableWork cacheableWork = new CacheableWork(context.getIdentity().getUniqueId(), context.getWorkspace(), work);
            return Try.ofFailable(() -> work.isAllowedToLoadFromCache()
                    ? tryLoadingFromCache(cacheKey, cacheableWork)
                    : Optional.<BuildCacheLoadResult>empty()
                )
                .map(successfulLoad -> successfulLoad
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 13:41:13 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/tasks/execution/TaskExecution.java

                task.getOutputs().getCacheIfSpecs(),
                task.getOutputs().getDoNotCacheIfSpecs(),
                detectedOverlappingOutputs
            );
        }
    
        @Override
        public boolean isAllowedToLoadFromCache() {
            return context.getTaskExecutionMode().isAllowedToUseCachedResults();
        }
    
        @Override
        public Optional<Duration> getTimeout() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top