Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 652 for trackers (0.22 sec)

  1. platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/ClientBuildEventGeneratorTest.groovy

            tracker2.trackers >> [tracker3]
            tracker3.trackers >> []
    
            def generator = new ClientBuildEventGenerator(consumer, subscriptions, [mapper], fallback)
    
            when:
            generator.started(operation, startEvent)
    
            then:
            1 * tracker1.started(operation, startEvent)
            1 * tracker2.started(operation, startEvent)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/ClientBuildEventGenerator.java

            this.trackers = ImmutableList.copyOf(trackers);
        }
    
        private void collectTrackers(Set<BuildOperationTracker> dest, List<? extends BuildOperationTracker> trackers) {
            for (BuildOperationTracker tracker : trackers) {
                if (!dest.contains(tracker)) {
                    collectTrackers(dest, tracker.getTrackers());
                    dest.add(tracker);
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 9K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/BuildOperationTracker.java

    import java.util.Collections;
    import java.util.List;
    
    /**
     * Tracks some state for build operations of a given type.
     */
    public interface BuildOperationTracker {
        /**
         * Returns the trackers that are used by this tracker. If this tracker is required, then its trackers should be notified of
         * build operation execution. If this tracker is not required, the trackers can be ignored.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/BuildOperationMapper.java

        boolean isEnabled(BuildEventSubscriptions subscriptions);
    
        Class<DETAILS> getDetailsType();
    
        /**
         * Returns the trackers that are used by this mapper. If this mapper is enabled, then the trackers should be notified of
         * build operation execution. If this mapper is not enabled, the trackers can be ignored.
         */
        default List<? extends BuildOperationTracker> getTrackers() {
            return Collections.emptyList();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. pkg/filewatcher/worker.go

    func (wk *worker) drainRetiringTrackers() {
    	// cleanup any trackers that were in the process
    	// of being retired, but didn't get processed due
    	// to termination
    	for {
    		select {
    		case ft := <-wk.retireTrackerCh:
    			retireTracker(ft)
    		default:
    			return
    		}
    	}
    }
    
    // make a local copy of the set of trackers to avoid contention with callers
    // used only by the worker goroutine
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 12 22:31:06 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/modification/KotlinModificationTrackerFactory.kt

    import org.jetbrains.kotlin.analysis.api.platform.KotlinPlatformComponent
    
    /**
     * [KotlinModificationTrackerFactory] creates modification trackers for select modification events.
     *
     * Further modification tracking is implemented with a subscription-based mechanism via [KotlinModificationTopics]. Modification trackers make the most
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:57:40 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/cached/TwoStageExternalResourceFileStoreTest.groovy

                [r2, r3] as Set
            }
    
            when:
            def result = twoStageStore.search(key)
    
            then:
            result == [r1, r2, r3] as Set
        }
    
        def "file access tracker delegates to both trackers"() {
            def fat1 = Mock(FileAccessTracker)
            def fat2 = Mock(FileAccessTracker)
    
            when:
            twoStageStore.getFileAccessTracker().markAccessed(file)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/filestore/TwoStageArtifactIdentifierFileStoreTest.groovy

            }
    
            1 * writeStore.whereIs(key, "checksum") >> { found }
    
            expect:
            twoStageStore.whereIs(key, "checksum") == found
        }
    
        def "file access tracker delegates to both trackers"() {
            def fat1 = Mock(FileAccessTracker)
            def fat2 = Mock(FileAccessTracker)
    
            when:
            twoStageStore.getFileAccessTracker().markAccessed(file)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/endpoints/request/webhook_duration.go

    	if tracker, ok := LatencyTrackersFrom(ctx); ok {
    		tracker.ResponseWriteTracker.TrackDuration(d)
    	}
    }
    
    // TrackAPFQueueWaitLatency is used to track latency incurred
    // by priority and fairness queues.
    func TrackAPFQueueWaitLatency(ctx context.Context, d time.Duration) {
    	if tracker, ok := LatencyTrackersFrom(ctx); ok {
    		tracker.APFQueueWaitTracker.TrackDuration(d)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 22:15:37 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. pkg/proxy/endpointslicecache.go

    type EndpointSliceCache struct {
    	// lock protects trackerByServiceMap.
    	lock sync.Mutex
    
    	// trackerByServiceMap is the basis of this cache. It contains endpoint
    	// slice trackers grouped by service name and endpoint slice name. The first
    	// key represents a namespaced service name while the second key represents
    	// an endpoint slice name. Since endpoints can move between slices, we
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:07:21 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top