- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for isAllowedToLoadFromCache (0.32 sec)
-
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) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/UnitOfWork.java
} /** * Is this work item allowed to load from the cache, or if we only allow it to be stored. */ // TODO Make this part of CachingState instead default boolean isAllowedToLoadFromCache() { return true; } /** * Whether overlapping outputs should be allowed or ignored. */ default OverlappingOutputHandling getOverlappingOutputHandling() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:28 UTC 2023 - 13.1K bytes - Viewed (0) -
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)