Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for isShutdown (0.34 sec)

  1. 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)
  2. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        executor.shutdown();
        assertFalse(awaitTerminationUninterruptibly(executor, 1000, MILLISECONDS));
        assertFalse(executor.isTerminated());
        assertInterrupted();
      }
    
      public void testTryAwaitTerminationInfiniteTimeout() {
        ExecutorService executor = newFixedThreadPool(1);
        requestInterruptIn(500);
        executor.execute(new SleepTask(1000));
        executor.shutdown();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 16:06:39 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  3. pilot/pkg/bootstrap/server.go

    		defer cancel()
    		if err := s.httpServer.Shutdown(ctx); err != nil {
    			log.Warn(err)
    		}
    		if s.httpsServer != nil {
    			if err := s.httpsServer.Shutdown(ctx); err != nil {
    				log.Warn(err)
    			}
    		}
    
    		// Shutdown the DiscoveryServer.
    		s.XDSServer.Shutdown()
    	}()
    }
    
    func (s *Server) initGrpcServer(options *istiokeepalive.Options) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  4. cmd/erasure-healing-common_test.go

    	defer cancel()
    
    	obj, disks, err := prepareErasure16(ctx)
    	if err != nil {
    		t.Fatalf("Prepare Erasure backend failed - %v", err)
    	}
    	setObjectLayer(obj)
    	defer obj.Shutdown(context.Background())
    	defer removeRoots(disks)
    
    	type tamperKind int
    	const (
    		noTamper tamperKind = iota
    		deletePart
    		corruptPart
    	)
    
    	timeSentinel := time.Unix(1, 0).UTC()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 23K bytes
    - Viewed (0)
  5. pkg/features/kube_features.go

    	// beta:  v1.21
    	// Adds support for kubelet to detect node shutdown and gracefully terminate pods prior to the node being shutdown.
    	GracefulNodeShutdown featuregate.Feature = "GracefulNodeShutdown"
    
    	// owner: @wzshiming
    	// alpha: v1.23
    	// beta:  v1.24
    	// Make the kubelet use shutdown configuration based on pod priority values for graceful shutdown.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 22:51:23 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

            future.get();
          } catch (Throwable t) {
            // Ignore, we just wanted to block.
          }
          String error = errorMessage.get();
          assertNull(error, error);
        }
        executor.shutdown();
      }
    
      /**
       * He did the bash, he did the future bash The future bash, it was a concurrency smash He did the
       * bash, it caught on in a flash He did the bash, he did the future bash
       */
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

            future.get();
          } catch (Throwable t) {
            // Ignore, we just wanted to block.
          }
          String error = errorMessage.get();
          assertNull(error, error);
        }
        executor.shutdown();
      }
    
      /**
       * He did the bash, he did the future bash The future bash, it was a concurrency smash He did the
       * bash, it caught on in a flash He did the bash, he did the future bash
       */
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  8. platforms/core-runtime/daemon-server/src/main/java/org/gradle/launcher/daemon/bootstrap/DaemonMain.java

    import org.gradle.launcher.daemon.server.DaemonStopState;
    import org.gradle.launcher.daemon.server.MasterExpirationStrategy;
    import org.gradle.launcher.daemon.server.expiry.DaemonExpirationStrategy;
    import org.gradle.process.internal.shutdown.ShutdownHooks;
    
    import java.io.ByteArrayInputStream;
    import java.io.EOFException;
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.PrintStream;
    import java.util.ArrayList;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. platforms/core-runtime/tooling-api-provider/src/main/java/org/gradle/tooling/internal/provider/DefaultConnection.java

            return new DefaultConnectionMetaData();
        }
    
        /**
         * This is used by consumers 2.2-rc-1 and later
         */
        @Override
        public void shutdown(ShutdownParameters parameters) {
            buildProcessState.close();
        }
    
        /**
         * This is used by consumers 2.1-rc-1 and later
         */
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. src/os/exec/exec.go

    	//
    	// Typically a custom Cancel will send a signal to the command's
    	// Process, but it may instead take other actions to initiate cancellation,
    	// such as closing a stdin or stdout pipe or sending a shutdown request on a
    	// network socket.
    	//
    	// If the command exits with a success status after Cancel is
    	// called, and Cancel does not return an error equivalent to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
Back to top