Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 299 for isShutdown (0.15 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

              protected Scheduler scheduler() {
                return newFixedDelaySchedule(0, 1, MILLISECONDS);
              }
            };
    
        service.startAsync();
        assertFalse(service.executor().isShutdown());
        service.awaitRunning();
        service.stopAsync();
        service.awaitTerminated();
        assertTrue(executor.get().awaitTermination(100, MILLISECONDS));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

              protected Scheduler scheduler() {
                return newFixedDelaySchedule(0, 1, MILLISECONDS);
              }
            };
    
        service.startAsync();
        assertFalse(service.executor().isShutdown());
        service.awaitRunning();
        service.stopAsync();
        service.awaitTerminated();
        assertTrue(executor.get().awaitTermination(100, MILLISECONDS));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  3. 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)
  4. pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux.go

    		// 3. When shutdown(false) event is received, this indicates a previous shutdown was cancelled. In this case, acquire the inhibit lock again.
    		for {
    			select {
    			case isShuttingDown, ok := <-events:
    				if !ok {
    					m.logger.Error(err, "Ended to watching the node for shutdown events")
    					close(stop)
    					return
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 08:02:40 UTC 2022
    - 15.5K bytes
    - Viewed (0)
  5. src/syscall/syscall_linux_386.go

    	return
    }
    
    func Listen(s int, n int) (err error) {
    	_, e := socketcall(_LISTEN, uintptr(s), uintptr(n), 0, 0, 0, 0)
    	if e != 0 {
    		err = e
    	}
    	return
    }
    
    func Shutdown(s, how int) (err error) {
    	_, e := socketcall(_SHUTDOWN, uintptr(s), uintptr(how), 0, 0, 0, 0)
    	if e != 0 {
    		err = e
    	}
    	return
    }
    
    func Fstatfs(fd int, buf *Statfs_t) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 10.3K 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. okhttp/src/test/java/okhttp3/FastFallbackTest.kt

            .build()
        url =
          serverIpv4.url("/")
            .newBuilder()
            .host("localhost")
            .build()
      }
    
      @AfterEach
      internal fun tearDown() {
        serverIpv4.shutdown()
        serverIpv6.shutdown()
      }
    
      @Test
      fun callIpv6FirstEvenWhenIpv4IpIsListedFirst() {
        dnsResults =
          listOf(
            localhostIpv4,
            localhostIpv6,
          )
        serverIpv4.enqueue(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

     * the "running" state need to perform a periodic task. Subclasses can implement {@link #startUp},
     * {@link #shutDown} and also a {@link #runOneIteration} method that will be executed periodically.
     *
     * <p>This class uses the {@link ScheduledExecutorService} returned from {@link #executor} to run
     * the {@link #startUp} and {@link #shutDown} methods and also uses that service to schedule the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

     * the "running" state need to perform a periodic task. Subclasses can implement {@link #startUp},
     * {@link #shutDown} and also a {@link #runOneIteration} method that will be executed periodically.
     *
     * <p>This class uses the {@link ScheduledExecutorService} returned from {@link #executor} to run
     * the {@link #startUp} and {@link #shutDown} methods and also uses that service to schedule the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 25.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/server/options/server_run_options.go

    	MaxRequestBodyBytes int64
    
    	// 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: Tue Oct 24 21:53:51 UTC 2023
    - 15.4K bytes
    - Viewed (0)
Back to top