Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for invalidateAll (0.16 sec)

  1. platforms/jvm/scala/src/main/java/org/gradle/api/internal/tasks/scala/GuavaBackedClassLoaderCache.java

        public ClassLoader get(K key, Callable<ClassLoader> loader) throws Exception {
            return cache.get(key, loader);
        }
    
        public void clear() {
            cache.invalidateAll();
        }
    
        @Override
        public void close() {
            cache.invalidateAll();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/IncrementalCompileProcessorTest.groovy

        }
    
        def added(TestFile sourceFile) {
            virtualFileSystem.invalidateAll()
            modifiedFiles << sourceFile
            graph[sourceFile] = []
        }
    
        def sourceAdded(TestFile sourceFile, List<File> deps = []) {
            virtualFileSystem.invalidateAll()
            sourceFiles << sourceFile
            modifiedFiles << sourceFile
            graph[sourceFile] = deps
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:31:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/ClassLoaderCache.java

            try {
                for (ClassLoader classLoader : classLoaderDetails.asMap().keySet()) {
                    ClassLoaderUtils.tryClose(classLoader);
                }
                classLoaderDetails.invalidateAll();
                classLoaderIds.invalidateAll();
            } finally {
                lock.unlock();
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/InMemoryDecoratedCache.java

                LOG.info("Invalidating in-memory cache of {}", cacheId);
                outOfDate = true;
            }
            if (outOfDate) {
                inMemoryCache.invalidateAll();
            }
            delegate.afterLockAcquire(currentCacheState);
        }
    
        @Override
        public void finishWork() {
            delegate.finishWork();
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/CachingBlockStore.java

            store.open(initAction, factory);
        }
    
        @Override
        public void close() {
            flush();
            indexBlockCache.invalidateAll();
            store.close();
        }
    
        @Override
        public void clear() {
            dirty.clear();
            indexBlockCache.invalidateAll();
            store.clear();
        }
    
        @Override
        public void flush() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/OutputSnapshotUtilTest.groovy

            then:
            collectFiles(filteredOutputs) == [outputDir]
    
            when:
            def outputDirFile = outputDir.file("in-output-dir").createFile()
            virtualFileSystem.invalidateAll()
            def afterExecution = snapshotOutput(outputDir)
            filteredOutputs = filterOutputAfterExecution(EMPTY, beforeExecution, afterExecution)
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  7. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/VirtualFileSystem.java

        /**
         * Removes any information at the absolute paths from the VFS.
         */
        void invalidate(Iterable<String> locations);
    
        /**
         * Removes any information from the VFS.
         */
        void invalidateAll();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/AbstractVirtualFileSystemTest.groovy

                    return directory(location, [])
                } as Supplier<FileSystemLocationSnapshot>)
            }
            async {
                thread.blockUntil.snapshottingStarted
                vfs.invalidateAll()
                instant.invalidated
            }
            then:
            instant.snapshottingStarted < instant.invalidated
            instant.invalidated < instant.snapshottingFinished
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/loader/CachingToolingImplementationLoader.java

            }
        }
    
        @Override
        public void close() {
            try {
                CompositeStoppable.stoppable(connections.asMap().values()).stop();
            } finally {
                connections.invalidateAll();
            }
        }
    
        @NonNullApi
        private class ConsumerConnectionCreator implements Callable<ConsumerConnection> {
            private final Distribution distribution;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 09:39:07 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/exec/CleanUpVirtualFileSystemAfterBuild.java

                    userHomeServiceRegistry.getCurrentServices().ifPresent(serviceRegistry -> {
                        VirtualFileSystem virtualFileSystem = serviceRegistry.get(VirtualFileSystem.class);
                        virtualFileSystem.invalidateAll();
                    });
                }
            }
        }
    
        @Override
        public void stop() {
            // If we are shutting down, it's not important to finish cleaning the VFS
            executor.shutdownNow();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 15:08:33 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top