Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for storeLocally (0.5 sec)

  1. platforms/core-execution/build-cache/src/test/groovy/org/gradle/caching/internal/controller/DefaultBuildCacheControllerTest.groovy

            noExceptionThrown()
    
            and:
            1 * local.storeLocally(key, _)
        }
    
        def "does not store to local if local push is disabled"() {
            given:
            localPush = false
    
            when:
            controller.store(key, cacheableEntity, snapshots, executionTime)
    
            then:
            0 * local.storeLocally(key, _)
        }
    
        def "does not store to local if no local"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. platforms/core-execution/build-cache-local/src/main/java/org/gradle/caching/local/internal/DirectoryBuildCacheService.java

            cache.store(((BuildCacheKeyInternal) key).getHashCodeInternal(), result::writeTo);
        }
    
        @Override
        public void storeLocally(BuildCacheKey key, File file) {
            cache.storeLocally(((BuildCacheKeyInternal) key).getHashCodeInternal(), file);
        }
    
        @Override
        public void withTempFile(HashCode key, Consumer<? super File> action) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 14:32:44 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. platforms/core-execution/build-cache-local/src/main/java/org/gradle/caching/local/internal/LocalBuildCache.java

        boolean load(HashCode key, IoConsumer<InputStream> reader);
    
        void loadLocally(HashCode key, Consumer<? super File> reader);
    
        void store(HashCode key, IoConsumer<OutputStream> result);
    
        void storeLocally(HashCode key, File file);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. platforms/core-execution/build-cache/src/main/java/org/gradle/caching/local/internal/LocalBuildCacheService.java

         */
        void loadLocally(BuildCacheKey key, Consumer<? super File> reader);
    
        /**
         * Store the given file in the local file store as a cache artifact.
         */
        void storeLocally(BuildCacheKey key, File file);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. platforms/core-execution/build-cache-local/src/main/java/org/gradle/caching/local/internal/DirectoryBuildCache.java

                    }
                } catch (IOException ex) {
                    throw UncheckedException.throwAsUncheckedException(ex);
                }
    
                storeLocally(key, file);
            });
        }
    
        @Override
        public void storeLocally(HashCode key, File file) {
            // We need to lock other processes out here because garbage collection can be under way in another process
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:53 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/service/BaseLocalBuildCacheServiceHandle.java

            if (canStore()) {
                storeInner(key, file);
                return true;
            }
            return false;
        }
    
        protected void storeInner(BuildCacheKey key, File file) {
            service.storeLocally(key, file);
        }
    
        @Override
        public void close() throws IOException {
            service.close();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 04 08:25:00 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. platforms/core-execution/build-cache-local/src/test/groovy/org/gradle/caching/local/internal/DirectoryBuildCacheTest.groovy

            File cachedFile = null
    
            given:
            def originalFile = temporaryFolder.createFile("foo")
            originalFile.text = "bar"
    
            when:
            cache.storeLocally(key, originalFile)
    
            then:
            1 * fileAccessTracker.markAccessed(_) >> { File file -> cachedFile = file }
            cachedFile.absolutePath.startsWith(cacheDir.absolutePath)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 14:32:44 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/caching/internal/controller/DefaultBuildCacheControllerFactoryTest.groovy

                new TestLocalBuildCacheService()
            }
        }
    
        static class TestLocalBuildCacheService implements LocalBuildCacheService, BuildCacheService {
            @Override
            void storeLocally(BuildCacheKey key, File file) {
    
            }
    
            @Override
            void loadLocally(BuildCacheKey key, Consumer<? super File> reader) {
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:46:34 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/apiv4-repo/junit/junit/4.13.1/junit-4.13.1.jar

    org.junit.experimental.max; public synchronized class MaxCore { private static final String MALFORMED_JUNIT_3_TEST_CLASS_PREFIX = malformed JUnit 3 test class: ; private final MaxHistory history; public static MaxCore forFolder(String); public static MaxCore storedLocally(java.io.File); private void MaxCore(java.io.File); public org.junit.runner.Result run(Class); public org.junit.runner.Result run(org.junit.runner.Request); public org.junit.runner.Result run(org.junit.runner.Request, org.junit.runner.JUnitCore);...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 19 19:08:55 UTC 2023
    - 373.7K bytes
    - Viewed (0)
Back to top