Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 810 for isShutdown (0.42 sec)

  1. pkg/envoy/agent.go

    //     If the pod's terminationGracePeriod is shorter than our drain duration (rare), we may be a SIGKILL.
    //  4. /drain + SIGTERM. This is the shutdown when using Kubernetes native sidecars.
    //     /drain is called when the pod shutdown starts. We start draining, forever.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 24 16:04:22 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. pkg/test/loadbalancersim/mesh/node.go

    		n.q.Schedule(wrappedOnDone, deadline)
    	}, onDone)
    }
    
    func (n *Node) Locality() locality.Instance {
    	return n.locality
    }
    
    func (n *Node) ShutDown() {
    	n.q.ShutDown()
    }
    
    type Nodes []*Node
    
    func (nodes Nodes) Select(match locality.Match) Nodes {
    	var out Nodes
    	for _, n := range nodes {
    		if match(n.locality) {
    			out = append(out, n)
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 03 18:19:25 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  3. testing/smoke-test/src/smokeTest/resources/org/gradle/play/integtest/fixtures/external/basicplayapp/app/controllers/Application.scala.old

    import play.api._
    import play.api.mvc._
    
    object Application extends Controller {
    
      def index = Action {
        Ok(views.html.index("Your new application is ready."))
      }
    
      def shutdown = Action {
        System.exit(0)
        Ok("shutdown")
      }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 876 bytes
    - Viewed (0)
  4. docs_src/async_sql_databases/tutorial001.py

    class Note(BaseModel):
        id: int
        text: str
        completed: bool
    
    
    app = FastAPI()
    
    
    @app.on_event("startup")
    async def startup():
        await database.connect()
    
    
    @app.on_event("shutdown")
    async def shutdown():
        await database.disconnect()
    
    
    @app.get("/notes/", response_model=List[Note])
    async def read_notes():
        query = notes.select()
        return await database.fetch_all(query)
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/protocol/StoppableConnection.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.tooling.internal.protocol;
    
    /**
     * Allows a connection to be shutdown.
     *
     * <p>DO NOT CHANGE THIS INTERFACE - it is part of the cross-version protocol.
     *
     * <p>Consumer compatibility: This interface is used by all consumer versions from 2.2-rc-1.</p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/AbstractIdleService.java

    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    
    /**
     * Base class for services that do not need a thread while "running" but may need one during startup
     * and shutdown. Subclasses can implement {@link #startUp} and {@link #shutDown} methods, each which
     * run in an executor which by default uses a separate thread for each method.
     *
     * @author Chris Nokleberg
     * @since 1.0
     */
    @GwtIncompatible
    @J2ktIncompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 13:59:28 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/classloading/CompositeGroovySystemLoader.java

        public CompositeGroovySystemLoader(GroovySystemLoader... loaders) {
            this.loaders = CollectionUtils.toList(loaders);
        }
    
        @Override
        public void shutdown() {
            for (GroovySystemLoader loader : loaders) {
                loader.shutdown();
            }
        }
    
        @Override
        public void discardTypesFrom(ClassLoader classLoader) {
            for (GroovySystemLoader loader : loaders) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:52:05 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  8. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt

        delegate.start(inetAddress, port)
      }
    
      @Synchronized
      @Throws(IOException::class)
      fun shutdown() {
        delegate.shutdown()
      }
    
      @Synchronized override fun after() {
        try {
          shutdown()
        } catch (e: IOException) {
          logger.log(Level.WARNING, "MockWebServer shutdown failed", e)
        }
      }
    
      override fun toString(): String = delegate.toString()
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/plugin/pkg/audit/fake/fake.go

    type Backend struct {
    	OnRequest func(events []*auditinternal.Event)
    }
    
    // Run does nothing.
    func (b *Backend) Run(stopCh <-chan struct{}) error {
    	return nil
    }
    
    // Shutdown does nothing.
    func (b *Backend) Shutdown() {
    	return
    }
    
    // ProcessEvents calls a callback on a batch, if present.
    func (b *Backend) ProcessEvents(ev ...*auditinternal.Event) bool {
    	if b.OnRequest != nil {
    		b.OnRequest(ev)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 16 09:32:49 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  10. cluster/gce/gci/node-helper.sh

      metadata+="cluster-location=${KUBE_TEMP}/cluster-location.txt,"
      metadata+="cluster-name=${KUBE_TEMP}/cluster-name.txt,"
      metadata+="gci-update-strategy=${KUBE_TEMP}/gci-update.txt,"
      metadata+="shutdown-script=${KUBE_ROOT}/cluster/gce/gci/shutdown.sh,"
      metadata+="${NODE_EXTRA_METADATA}"
      echo "${metadata}"
    }
    
    # Assumed vars:
    #   scope_flags
    # Parameters:
    #   $1: template name (required).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 17 19:00:22 UTC 2022
    - 1.8K bytes
    - Viewed (0)
Back to top