Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for janitor (1.23 sec)

  1. internal/bucket/bandwidth/monitor.go

    import (
    	"context"
    	"sync"
    	"time"
    
    	"golang.org/x/time/rate"
    )
    
    //msgp:ignore bucketThrottle Monitor
    
    type bucketThrottle struct {
    	*rate.Limiter
    	NodeBandwidthPerSec int64
    }
    
    // Monitor holds the state of the global bucket monitor
    type Monitor struct {
    	tlock sync.RWMutex // mutex for bucket throttling
    	mlock sync.RWMutex // mutex for bucket measurement
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/telemetry/internal/crashmonitor/monitor.go

    	// every extra conditional branch creates a risk that the
    	// recursively executed child program will behave not like the
    	// monitor but like the application. If the child process
    	// exits before calling Start, then the parent application
    	// will not have a monitor, and its crash reports will be
    	// discarded (written in to a pipe that is never read).
    	//
    	// So for now, we use this constant string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts

                println("CACHE_MISS in task $taskPath")
                cacheMiss.set(true)
            }
        }
    }
    
    
    /**
     *  We monitor some tasks in non-seed builds. If a task executed in a non-seed build, we think it as "CACHE_MISS".
     */
    fun isCacheMissMonitoredTask(task: Task) = task.isCompileCacheMissMonitoredTask() || task.project.isAsciidoctorCacheMissTask()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 05:49:29 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. pkg/controller/resourcequota/resource_quota_monitor.go

    			logger.Info("QuotaMonitor created object count evaluator", "resource", resource.GroupResource())
    		}
    
    		// track the monitor
    		current[resource] = &monitor{controller: c}
    		added++
    	}
    	qm.monitors = current
    
    	for _, monitor := range toRemove {
    		if monitor.stopCh != nil {
    			close(monitor.stopCh)
    		}
    	}
    
    	logger.V(4).Info("quota synced monitors", "added", added, "kept", kept, "removed", len(toRemove))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

          @Override
          protected void runTest() throws Throwable {
            Monitor monitor = new Monitor(fair);
            FlagGuard guard = new FlagGuard(monitor);
            Object[] arguments =
                (timed ? new Object[] {guard, 0L, TimeUnit.MILLISECONDS} : new Object[] {guard});
            try {
              method.invoke(monitor, arguments);
              fail("expected IllegalMonitorStateException");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  6. pkg/controller/podautoscaler/horizontal_test.go

    	// expected results reported to the mock monitor at first.
    	expectedReportedReconciliationActionLabel     monitor.ActionLabel
    	expectedReportedReconciliationErrorLabel      monitor.ErrorLabel
    	expectedReportedMetricComputationActionLabels map[autoscalingv2.MetricSourceType]monitor.ActionLabel
    	expectedReportedMetricComputationErrorLabels  map[autoscalingv2.MetricSourceType]monitor.ErrorLabel
    
    	// Target resource information.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

      private static final class ServiceManagerState {
        final Monitor monitor = new Monitor();
    
        @GuardedBy("monitor")
        final SetMultimap<State, Service> servicesByState =
            MultimapBuilder.enumKeys(State.class).linkedHashSetValues().build();
    
        @GuardedBy("monitor")
        final Multiset<State> states = servicesByState.keys();
    
        @GuardedBy("monitor")
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:41:16 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  8. pkg/controller/garbagecollector/graph_builder.go

    	gb.monitorLock.RLock()
    	defer gb.monitorLock.RUnlock()
    
    	var monitor *monitor
    	if m, ok := gb.monitors[resource]; ok {
    		monitor = m
    	} else {
    		for monitorGVR, m := range gb.monitors {
    			if monitorGVR.Group == resource.Group && monitorGVR.Resource == resource.Resource {
    				monitor = m
    				break
    			}
    		}
    	}
    
    	if monitor == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/ServiceManager.java

      private static final class ServiceManagerState {
        final Monitor monitor = new Monitor();
    
        @GuardedBy("monitor")
        final SetMultimap<State, Service> servicesByState =
            MultimapBuilder.enumKeys(State.class).linkedHashSetValues().build();
    
        @GuardedBy("monitor")
        final Multiset<State> states = servicesByState.keys();
    
        @GuardedBy("monitor")
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:41:16 UTC 2024
    - 33K bytes
    - Viewed (0)
  10. pilot/pkg/bootstrap/monitoring.go

    		handler.ServeHTTP(w, r)
    	})
    }
    
    // Deprecated: we shouldn't have 2 http ports. Will be removed after code using
    // this port is removed.
    func startMonitor(addr string, mux *http.ServeMux) (*monitor, error) {
    	m := &monitor{}
    
    	// get the network stuff setup
    	var listener net.Listener
    	if addr != "" {
    		var err error
    		if listener, err = net.Listen("tcp", addr); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 14:41:40 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top