Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 385 for Stopping (0.17 sec)

  1. pkg/kubelet/cm/devicemanager/plugin/v1beta1/stub.go

    }
    
    // Stop stops the gRPC server. Can be called without a prior Start
    // and more than once. Not safe to be called concurrently by different
    // goroutines!
    func (m *Stub) Stop() error {
    	klog.InfoS("Stopping device plugin server")
    	if m.server == nil {
    		return nil
    	}
    
    	m.kubeletRestartWatcher.Close()
    
    	m.server.Stop()
    	m.wg.Wait()
    	m.server = nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 11:19:10 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  2. cmd/utils_test.go

    			}
    			if objectName != testCase.object {
    				t.Errorf("failed expected bucket name \"%s\", got \"%s\"", testCase.object, objectName)
    			}
    		})
    	}
    }
    
    // Add tests for starting and stopping different profilers.
    func TestStartProfiler(t *testing.T) {
    	_, err := startProfiler("")
    	if err == nil {
    		t.Fatal("Expected a non nil error, but nil error returned for invalid profiler.")
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/events.md

    !!! tip
        The `shutdown` would happen when you are **stopping** the application.
    
        Maybe you need to start a new version, or you just got tired of running it. 🤷
    
    ### Lifespan function
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher_test.go

    	filter := func(string, labels.Set, fields.Set) bool { return true }
    	forget := func(drainWatcher bool) {
    		lock.Lock()
    		defer lock.Unlock()
    		count++
    		// forget() has to stop the watcher, as only stopping the watcher
    		// triggers stopping the process() goroutine which we are in the
    		// end waiting for in this test.
    		w.setDrainInputBufferLocked(drainWatcher)
    		w.stopLocked()
    	}
    	initEvents := []*watchCacheEvent{
    		{Object: &v1.Pod{}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/Daemon.java

         * This method does not quite conform to the semantics of the Stoppable contract in that it will NOT
         * wait for any executing builds to stop before returning. This is by design as we currently have no way of
         * gracefully stopping a build process and blocking until it's done would not allow us to tear down the jvm
         * like we need to. This may change in the future if we create a way to interrupt a build.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  6. pkg/util/iptables/monitor_test.go

    	close(stopCh)
    
    	if err := waitForNoReload(&reloads, 2); err != nil {
    		t.Errorf("got unexpected number of reloads after stop: %v", err)
    	}
    	if !ensureNoChains(mfe) {
    		t.Errorf("canaries still exist after stopping monitor")
    	}
    
    	// If we create a new monitor while the iptables lock is held, it will
    	// retry creating canaries until it succeeds
    
    	stopCh = make(chan struct{})
    	_ = mfe.getWasBlocked()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 08 15:21:59 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/CharStreams.java

        String line;
        while ((line = lineReader.readLine()) != null) {
          result.add(line);
        }
        return result;
      }
    
      /**
       * Streams lines from a {@link Readable} object, stopping when the processor returns {@code false}
       * or all lines have been read and returning the result produced by the processor. Does not close
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  8. pkg/kubelet/prober/worker.go

    // stop channel is closed. The worker uses the probe Manager's statusManager to get up-to-date
    // container IDs.
    type worker struct {
    	// Channel for stopping the probe.
    	stopCh chan struct{}
    
    	// Channel for triggering the probe manually.
    	manualTriggerCh chan struct{}
    
    	// The pod containing this probe (read-only)
    	pod *v1.Pod
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 27 01:28:06 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  9. pkg/util/async/bounded_frequency_runner.go

    	klog.V(3).Infof("%s Loop running", bfr.name)
    	bfr.timer.Reset(bfr.maxInterval)
    	for {
    		select {
    		case <-stop:
    			bfr.stop()
    			klog.V(3).Infof("%s Loop stopping", bfr.name)
    			return
    		case <-bfr.timer.C():
    			bfr.tryRun()
    		case <-bfr.run:
    			bfr.tryRun()
    		case <-bfr.retry:
    			bfr.doRetry()
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 15 09:36:26 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

      /// The cache pruning thread that removes files with expired blocks.
      std::unique_ptr<TF_Thread, std::function<void(TF_Thread*)>> pruning_thread_;
    
      /// Notification for stopping the cache pruning thread.
      absl::Notification stop_pruning_thread_;
    
      /// Guards access to the block map, LRU list, and cached byte count.
      mutable absl::Mutex mu_;
    
      /// The block map (map from Key to Block).
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 31 04:46:34 UTC 2020
    - 10.6K bytes
    - Viewed (0)
Back to top