Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 318 for isShutdown (0.6 sec)

  1. android/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.3K bytes
    - Viewed (0)
  2. docs/em/docs/advanced/events.md

    ๐Ÿ‘† ๐Ÿ’ช ๐Ÿšฎ ๐ŸŒ… ๐ŸŒ˜ 1๏ธโƒฃ ๐ŸŽ‰ ๐Ÿ•โ€๐Ÿฆบ ๐Ÿ”ข.
    
    & ๐Ÿ‘† ๐Ÿˆธ ๐Ÿ† ๐Ÿšซ โ–ถ๏ธ ๐Ÿ“จ ๐Ÿ“จ โญ ๐ŸŒ `startup` ๐ŸŽ‰ ๐Ÿ•โ€๐Ÿฆบ โœ”๏ธ ๐Ÿ.
    
    ### `shutdown` ๐ŸŽ‰
    
    ๐Ÿšฎ ๐Ÿ”ข ๐Ÿ‘ˆ ๐Ÿ”œ ๐Ÿƒ ๐Ÿ•โ” ๐Ÿˆธ ๐Ÿคซ ๐Ÿ”ฝ, ๐Ÿ“ฃ โšซ๏ธ โฎ๏ธ ๐ŸŽ‰ `"shutdown"`:
    
    ```Python hl_lines="6"
    {!../../../docs_src/events/tutorial002.py!}
    ```
    
    ๐Ÿ“ฅ, `shutdown` ๐ŸŽ‰ ๐Ÿ•โ€๐Ÿฆบ ๐Ÿ”ข ๐Ÿ”œ โœ โœ โธ `"Application shutdown"` ๐Ÿ“ `log.txt`.
    
    !!! info
         `open()` ๐Ÿ”ข, `mode="a"` โ›“ "๐ŸŽป",, โธ ๐Ÿ”œ ๐Ÿšฎ โฎ๏ธ โšซ๏ธโ” ๐Ÿ”› ๐Ÿ‘ˆ ๐Ÿ“, ๐Ÿต ๐Ÿ“ โฎ๏ธ ๐ŸŽš.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. 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)
  4. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/informers/externalversions/factory.go

    	Start(stopCh <-chan struct{})
    
    	// Shutdown marks a factory as shutting down. At that point no new
    	// informers can be started anymore and Start will return without
    	// doing anything.
    	//
    	// In addition, Shutdown blocks until all goroutines have terminated. For that
    	// to happen, the close channel(s) that they were started with must be closed,
    	// either before Shutdown gets called or while it is waiting.
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 18:31:26 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/client/informers/externalversions/factory.go

    	Start(stopCh <-chan struct{})
    
    	// Shutdown marks a factory as shutting down. At that point no new
    	// informers can be started anymore and Start will return without
    	// doing anything.
    	//
    	// In addition, Shutdown blocks until all goroutines have terminated. For that
    	// to happen, the close channel(s) that they were started with must be closed,
    	// either before Shutdown gets called or while it is waiting.
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 18:31:26 UTC 2023
    - 9K bytes
    - Viewed (0)
  6. docs/de/docs/advanced/events.md

    ### `shutdown`-Event
    
    Um eine Funktion hinzuzufรผgen, die beim Herunterfahren der Anwendung ausgefรผhrt werden soll, deklarieren Sie sie mit dem Event `shutdown`:
    
    ```Python hl_lines="6"
    {!../../../docs_src/events/tutorial002.py!}
    ```
    
    Hier schreibt die `shutdown`-Eventhandler-Funktion eine Textzeile `"Application shutdown"` in eine Datei `log.txt`.
    
    !!! info
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:30:59 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top