Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for createFileWatcherRegistry (0.64 sec)

  1. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/vfs/impl/WatchingVirtualFileSystemTest.groovy

            when:
            watchingVirtualFileSystem.afterBuildStarted(WatchMode.ENABLED, VfsLogging.NORMAL, WatchLogging.NORMAL, buildOperationRunner)
            then:
            1 * watcherRegistryFactory.createFileWatcherRegistry(_) >> watcherRegistry
            1 * watcherRegistry.updateVfsOnBuildStarted(_, _, _) >> watchingVirtualFileSystem.root
            1 * watcherRegistry.setDebugLoggingEnabled(false)
            0 * _
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/FileWatcherRegistryFactory.java

     */
    
    package org.gradle.internal.watch.registry;
    
    public interface FileWatcherRegistryFactory {
        /**
         * Create the file watcher registry.
         */
        FileWatcherRegistry createFileWatcherRegistry(FileWatcherRegistry.ChangeHandler handler);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:38:01 UTC 2023
    - 861 bytes
    - Viewed (0)
  3. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/AbstractFileWatcherRegistryFactory.java

        ) {
            this.fileEventFunctions = fileEventFunctions;
            this.immutableLocationsFilter = immutableLocationsFilter;
        }
    
        @Override
        public FileWatcherRegistry createFileWatcherRegistry(FileWatcherRegistry.ChangeHandler handler) {
            BlockingQueue<FileWatchEvent> fileEvents = new ArrayBlockingQueue<>(FILE_EVENT_QUEUE_SIZE);
            try {
                // TODO How can we avoid hard-coding ".gradle" here?
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:33 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/vfs/impl/WatchingVirtualFileSystem.java

        @CheckReturnValue
        private SnapshotHierarchy startWatching(SnapshotHierarchy currentRoot, WatchMode watchMode, List<File> unsupportedFileSystems) {
            try {
                watchRegistry = watcherRegistryFactory.createFileWatcherRegistry(new FilterChangesToOutputsChangesHandler(locationsWrittenByCurrentBuild,
                    new CompositeChangeHandler(
                        new InvalidateVfsChangeHandler(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 16:22:15 UTC 2024
    - 25.2K bytes
    - Viewed (0)
Back to top