Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for shuttingDown (0.32 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/watch.go

    	}
    
    	var serverShuttingDownCh <-chan struct{}
    	if signals := apirequest.ServerShutdownSignalFrom(req.Context()); signals != nil {
    		serverShuttingDownCh = signals.ShuttingDown()
    	}
    
    	server := &WatchServer{
    		Watching: watcher,
    		Scope:    scope,
    
    		UseTextFraming:  useTextFraming,
    		MediaType:       mediaType,
    		Framer:          framer,
    		Encoder:         encoder,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 14 16:37:25 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  2. src/net/http/server.go

    	if s.ReadHeaderTimeout != 0 {
    		return s.ReadHeaderTimeout
    	}
    	return s.ReadTimeout
    }
    
    func (s *Server) doKeepAlives() bool {
    	return !s.disableKeepAlives.Load() && !s.shuttingDown()
    }
    
    func (s *Server) shuttingDown() bool {
    	return s.inShutdown.Load()
    }
    
    // SetKeepAlivesEnabled controls whether HTTP keep-alives are enabled.
    // By default, keep-alives are always enabled. Only very
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/genericapiserver_graceful_termination_test.go

    		// this simulates a watch well enough for our test
    		signals := apirequest.ServerShutdownSignalFrom(req.Context())
    		if signals == nil {
    			w.WriteHeader(http.StatusInternalServerError)
    			return
    		}
    		<-signals.ShuttingDown()
    		w.WriteHeader(http.StatusOK)
    	})
    	s.Handler.NonGoRestfulMux.Handle("/apis/watches.group/v1/namespaces/foo/bar", handler)
    	return inflight
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 38.3K bytes
    - Viewed (0)
  4. pkg/controller/garbagecollector/garbagecollector_test.go

    func (t *trackingWorkqueue[T]) ShutDown() {
    	t.limiter.ShutDown()
    }
    func (t *trackingWorkqueue[T]) ShutDownWithDrain() {
    	t.limiter.ShutDownWithDrain()
    }
    func (t *trackingWorkqueue[T]) ShuttingDown() bool {
    	return t.limiter.ShuttingDown()
    }
    
    func (t *trackingWorkqueue[T]) queue(item T) {
    	if _, queued := t.pendingMap[item]; queued {
    		// fmt.Printf("already queued: %#v\n", item)
    		return
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  5. maven-core/src/test/resources/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    SweeperPool { private static final boolean DEBUG = 0; private transient SweeperPool$Sweeper sweeper; private transient int maxSize; private transient int minSize; private int triggerSize; private java.util.ArrayList pooledObjects; private boolean shuttingDown; public void SweeperPool(int, int, int, int, int); private int saneConvert(int); public synchronized Object get(); public synchronized boolean put(Object); public synchronized int getSize(); public synchronized void dispose(); public synchronized...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 16 20:15:40 UTC 2007
    - 164.6K bytes
    - Viewed (0)
  6. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar

    SweeperPool { private static final boolean DEBUG = 0; private transient SweeperPool$Sweeper sweeper; private transient int maxSize; private transient int minSize; private int triggerSize; private java.util.ArrayList pooledObjects; private boolean shuttingDown; public void SweeperPool(int, int, int, int, int); private int saneConvert(int); public synchronized Object get(); public synchronized boolean put(Object); public synchronized int getSize(); public synchronized void dispose(); public synchronized...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 160K bytes
    - Viewed (0)
  7. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    SweeperPool { private static final boolean DEBUG = 0; private transient SweeperPool$Sweeper sweeper; private transient int maxSize; private transient int minSize; private int triggerSize; private java.util.ArrayList pooledObjects; private boolean shuttingDown; public void SweeperPool(int, int, int, int, int); private int saneConvert(int); public synchronized Object get(); public synchronized boolean put(Object); public synchronized int getSize(); public synchronized void dispose(); public synchronized...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 16 20:15:40 UTC 2007
    - 164.6K bytes
    - Viewed (0)
  8. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    SweeperPool { private static final boolean DEBUG = 0; private transient SweeperPool$Sweeper sweeper; private transient int maxSize; private transient int minSize; private int triggerSize; private java.util.ArrayList pooledObjects; private boolean shuttingDown; public void SweeperPool(int, int, int, int, int); private int saneConvert(int); public synchronized Object get(); public synchronized boolean put(Object); public synchronized int getSize(); public synchronized void dispose(); public synchronized...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 164.6K bytes
    - Viewed (0)
  9. maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    SweeperPool { private static final boolean DEBUG = 0; private transient SweeperPool$Sweeper sweeper; private transient int maxSize; private transient int minSize; private int triggerSize; private java.util.ArrayList pooledObjects; private boolean shuttingDown; public void SweeperPool(int, int, int, int, int); private int saneConvert(int); public synchronized Object get(); public synchronized boolean put(Object); public synchronized int getSize(); public synchronized void dispose(); public synchronized...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Oct 23 23:48:02 UTC 2009
    - 164.6K bytes
    - Viewed (0)
  10. maven-api-impl/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    SweeperPool { private static final boolean DEBUG = 0; private transient SweeperPool$Sweeper sweeper; private transient int maxSize; private transient int minSize; private int triggerSize; private java.util.ArrayList pooledObjects; private boolean shuttingDown; public void SweeperPool(int, int, int, int, int); private int saneConvert(int); public synchronized Object get(); public synchronized boolean put(Object); public synchronized int getSize(); public synchronized void dispose(); public synchronized...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 164.6K bytes
    - Viewed (0)
Back to top