Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 126 for isShutdown (0.73 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

       */
      @Throws(IOException::class)
      fun shutdown(statusCode: ErrorCode) {
        writer.withLock {
          val lastGoodStreamId: Int
          this.withLock {
            if (isShutdown) {
              return
            }
            isShutdown = true
            lastGoodStreamId = this.lastGoodStreamId
          }
          // TODO: propagate exception message into debugData.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheReport.kt

                }
    
                override fun close(): State {
                    if (executor.isShutdown) {
                        writer.close()
                    } else {
                        executor.submit {
                            writer.close()
                        }
                        executor.shutdown()
                    }
                    return Closed
                }
    
                private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/MoreExecutors.java

        }
    
        @Override
        public final boolean isShutdown() {
          return delegate.isShutdown();
        }
    
        @Override
        public final boolean isTerminated() {
          return delegate.isTerminated();
        }
    
        @Override
        public final void shutdown() {
          delegate.shutdown();
        }
    
        @Override
        public final List<Runnable> shutdownNow() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 15 10:40:05 UTC 2024
    - 43.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

        }
    
        @Override
        public final boolean isShutdown() {
          return delegate.isShutdown();
        }
    
        @Override
        public final boolean isTerminated() {
          return delegate.isTerminated();
        }
    
        @Override
        public final void shutdown() {
          delegate.shutdown();
        }
    
        @Override
        public final List<Runnable> shutdownNow() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 15 10:40:05 UTC 2024
    - 39K bytes
    - Viewed (0)
  5. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/ConcurrentTestUtil.groovy

        void execute(Runnable runnable) {
            threads.add(owner.startThread(runnable))
        }
    
        void shutdown() {
            throw new UnsupportedOperationException()
        }
    
        List<Runnable> shutdownNow() {
            throw new UnsupportedOperationException()
        }
    
        boolean isShutdown() {
            throw new UnsupportedOperationException()
        }
    
        boolean isTerminated() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/genericapiserver.go

    	// ShutdownSendRetryAfter dictates when to initiate shutdown of the HTTP
    	// Server during the graceful termination of the apiserver. If true, we wait
    	// for non longrunning requests in flight to be drained and then initiate a
    	// shutdown of the HTTP Server. If false, we initiate a shutdown of the HTTP
    	// Server as soon as ShutdownDelayDuration has elapsed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  7. pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux_test.go

    				assert.True(t, fakeDbus.didInhibitShutdown, "expected that manager inhibited shutdown")
    				assert.NoError(t, manager.ShutdownStatus(), "expected that manager does not return error since shutdown is not active")
    				assert.Equal(t, manager.Admit(nil).Admit, true)
    
    				// Send fake shutdown event
    				select {
    				case fakeShutdownChan <- true:
    				case <-time.After(1 * time.Second):
    					t.Fatal()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/genericapiserver_graceful_termination_test.go

    //     <-drainedCh.Signaled()                                     close(stopHttpServerCh)
    //     |                                                            |
    //     s.AuditBackend.Shutdown()                                 server.Shutdown(timeout=2s)
    //     |                                                            |
    //     |                                                   stop listener (net/http)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 38.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/healthz/healthz.go

    	return "informer-sync"
    }
    
    type shutdown struct {
    	stopCh <-chan struct{}
    }
    
    // NewShutdownHealthz returns a new HealthChecker that will fail if the embedded channel is closed.
    // This is intended to allow for graceful shutdown sequences.
    func NewShutdownHealthz(stopCh <-chan struct{}) HealthChecker {
    	return &shutdown{stopCh}
    }
    
    func (s *shutdown) Name() string {
    	return "shutdown"
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. pkg/controller/tainteviction/taint_eviction.go

    	} else {
    		logger.Error(nil, "kubeClient is nil", "controller", tc.name)
    		klog.FlushAndExit(klog.ExitFlushTimeout, 1)
    	}
    	defer tc.broadcaster.Shutdown()
    	defer tc.nodeUpdateQueue.ShutDown()
    	defer tc.podUpdateQueue.ShutDown()
    
    	// wait for the cache to be synced
    	if !cache.WaitForNamedCacheSync(tc.name, ctx.Done(), tc.podListerSynced, tc.nodeListerSynced) {
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top