Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for SnapshotHierarchy (1.47 sec)

  1. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/SnapshotHierarchy.java

         */
        @CheckReturnValue
        SnapshotHierarchy store(String absolutePath, MetadataSnapshot snapshot, NodeDiffListener diffListener);
    
        /**
         * Returns a hierarchy without any information at the absolute path.
         */
        @CheckReturnValue
        SnapshotHierarchy invalidate(String absolutePath, NodeDiffListener diffListener);
    
        /**
         * The empty hierarchy.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/AbstractFileWatcherUpdater.java

        @Override
        public SnapshotHierarchy updateVfsBeforeBuildFinished(SnapshotHierarchy root, int maximumNumberOfWatchedHierarchies, List<File> unsupportedFileSystems) {
            SnapshotHierarchy newRoot = watchableHierarchies.removeUnwatchableContentBeforeBuildFinished(
                root,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 17:02:39 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/AbstractVirtualFileSystem.java

        }
    
        /**
         * Runs a single update on a {@link SnapshotHierarchy} and notifies the currently active listeners after the update.
         */
        protected abstract SnapshotHierarchy updateNotifyingListeners(UpdateFunction updateFunction);
    
        public interface UpdateFunction {
            /**
             * Runs a single update on a {@link SnapshotHierarchy}, notifying the diffListener about changes.
             *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/FileWatcherUpdater.java

         *
         * @see FileWatcherRegistry#registerWatchableHierarchy(File, SnapshotHierarchy)
         */
        void registerWatchableHierarchy(File watchableHierarchy, SnapshotHierarchy root);
    
        /**
         * Updates the watchers after changes to the root.
         *
         * @see FileWatcherRegistry#virtualFileSystemContentsChanged(Collection, Collection, SnapshotHierarchy)
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 15:08:33 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. subprojects/core/src/testFixtures/groovy/org/gradle/api/internal/file/TestVirtualFileSystem.java

    package org.gradle.api.internal.file;
    
    import org.gradle.internal.snapshot.SnapshotHierarchy;
    import org.gradle.internal.vfs.impl.AbstractVirtualFileSystem;
    
    public class TestVirtualFileSystem extends AbstractVirtualFileSystem {
    
        public TestVirtualFileSystem(SnapshotHierarchy root) {
            super(root);
        }
    
        @Override
        protected SnapshotHierarchy updateNotifyingListeners(UpdateFunction updateFunction) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 08 14:17:29 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  6. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/DefaultSnapshotHierarchy.java

    import org.gradle.internal.snapshot.SingletonChildMap;
    import org.gradle.internal.snapshot.SnapshotHierarchy;
    import org.gradle.internal.snapshot.UnknownFileSystemNode;
    import org.gradle.internal.snapshot.VfsRelativePath;
    
    import java.util.Optional;
    import java.util.stream.Stream;
    
    public class DefaultSnapshotHierarchy implements SnapshotHierarchy {
    
        private final CaseSensitivity caseSensitivity;
        @VisibleForTesting
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  7. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/vfs/impl/WatchingNotSupportedVirtualFileSystem.java

        public WatchingNotSupportedVirtualFileSystem(SnapshotHierarchy root) {
            super(root);
        }
    
        @Override
        protected SnapshotHierarchy updateNotifyingListeners(UpdateFunction updateFunction) {
            return updateFunction.update(SnapshotHierarchy.NodeDiffListener.NOOP);
        }
    
        @Override
        public boolean afterBuildStarted(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 17:41:07 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/FileWatcherRegistry.java

        /**
         * Updates the watchers after changes to the root.
         *
         * @throws WatchingNotSupportedException when the native watchers can't be updated.
         */
        void virtualFileSystemContentsChanged(Collection<FileSystemLocationSnapshot> removedSnapshots, Collection<FileSystemLocationSnapshot> addedSnapshots, SnapshotHierarchy root);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 15:08:33 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/HierarchicalFileWatcherUpdater.java

                    return hasSnapshotsToWatch;
                }
            });
        }
    
        @Override
        public SnapshotHierarchy updateVfsBeforeBuildFinished(SnapshotHierarchy root, int maximumNumberOfWatchedHierarchies, List<File> unsupportedFileSystems) {
            SnapshotHierarchy newRoot = super.updateVfsBeforeBuildFinished(root, maximumNumberOfWatchedHierarchies, unsupportedFileSystems);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 15:08:33 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/vfs/impl/DefaultFileSystemWatchingStatistics.java

    package org.gradle.internal.watch.vfs.impl;
    
    import com.google.common.collect.EnumMultiset;
    import com.google.common.collect.Multiset;
    import org.gradle.internal.file.FileType;
    import org.gradle.internal.snapshot.SnapshotHierarchy;
    import org.gradle.internal.watch.registry.FileWatcherRegistry;
    import org.gradle.internal.watch.vfs.FileSystemWatchingStatistics;
    
    import static org.gradle.internal.snapshot.SnapshotVisitResult.CONTINUE;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:38:01 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top