Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for MONITOR (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

            }
          }
        }
      }
    
      /** A guard that encapsulates a simple, mutable boolean flag. */
      static class FlagGuard extends Monitor.Guard {
    
        private boolean satisfied;
    
        protected FlagGuard(Monitor monitor) {
          super(monitor);
        }
    
        @Override
        public boolean isSatisfied() {
          return satisfied;
        }
    
        public void setSatisfied(boolean satisfied) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  7. pkg/controller/resourcequota/resource_quota_controller.go

    	// function that controls full recalculation of quota usage
    	resyncPeriod controller.ResyncPeriodFunc
    	// knows how to calculate usage
    	registry quota.Registry
    	// knows how to monitor all the resources tracked by quota and trigger replenishment
    	quotaMonitor *QuotaMonitor
    	// controls the workers that process quotas
    	// this lock is acquired to control write access to the monitors and ensures that all
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/options/etcd.go

    	return nil
    }
    
    func monitorGetter(factory serverstorage.StorageFactory) func() (monitors []metrics.Monitor, err error) {
    	return func() (monitors []metrics.Monitor, err error) {
    		defer func() {
    			if err != nil {
    				for _, m := range monitors {
    					m.Close()
    				}
    			}
    		}()
    
    		var m metrics.Monitor
    		for _, cfg := range factory.Configs() {
    			m, err = storagefactory.CreateMonitor(cfg)
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 15:02:16 UTC 2024
    - 20K bytes
    - Viewed (0)
  9. src/main/config/openapi/openapi-user.yaml

    servers:
      - url: http://localhost:8080/api/v1
    tags:
      - name: search
        description: Search operations
      - name: popularword
        description: Popular word operations
      - name: monitor
        description: Monitoring operations
      - name: suggest
        description: Suggest operations
      - name: favorite
        description: Favorite operations
    paths:
      /documents:
        get:
          tags:
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 09 06:31:27 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/etcd3.go

    	_, err := t.client.Get(ctx, path.Join("/", t.prefix, "health"))
    	if err != nil {
    		return fmt.Errorf("error getting data from etcd: %w", err)
    	}
    	return nil
    }
    
    func (t *etcd3ProberMonitor) Monitor(ctx context.Context) (metrics.StorageMetrics, error) {
    	t.mux.RLock()
    	defer t.mux.RUnlock()
    	if t.closed {
    		return metrics.StorageMetrics{}, fmt.Errorf("closed")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 07:56:39 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top