- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 810 for isShutdown (0.16 sec)
-
testing/smoke-test/src/smokeTest/resources/org/gradle/play/integtest/fixtures/external/basicplayapp/conf/routes
# Routes # Home page GET / @controllers.Application.index GET /shutdown @controllers.Application.shutdown # Map static resources from the /public folder to the /assets URL path
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 313 bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/aether/ResolverLifecycle.java
this.repositorySystemProvider = requireNonNull(repositorySystemProvider); } @PreDestroy public void shutdown() { repositorySystemProvider.get().shutdown(); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Dec 13 22:19:20 UTC 2023 - 1.6K bytes - Viewed (0) -
pilot/pkg/server/instance.go
func (i *instance) Start(stop <-chan struct{}) error { shutdown := func() { close(i.done) } // First, drain all startup tasks and immediately return if any fail. for startupDone := false; !startupDone; { select { case next := <-i.components: t0 := time.Now() if err := next.task(stop); err != nil { // Startup error: terminate and return the error. shutdown() return err } runtime := time.Since(t0)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 4.6K bytes - Viewed (0) -
cmd/signals.go
if err := httpServer.Shutdown(); err != nil && !errors.Is(err, http.ErrServerClosed) { shutdownLogIf(context.Background(), err) } } if objAPI := newObjectLayerFn(); objAPI != nil { shutdownLogIf(context.Background(), objAPI.Shutdown(context.Background())) } if srv := newConsoleServerFn(); srv != nil { shutdownLogIf(context.Background(), srv.Shutdown()) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 01 17:57:52 UTC 2024 - 2.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java
public void testStop_failed() { final Exception exception = new Exception("deliberate"); TestService service = new TestService() { @Override protected void shutDown() throws Exception { super.shutDown(); throw exception; } }; service.startAsync().awaitRunning(); assertEquals(1, service.startUpCalled); assertEquals(0, service.shutDownCalled);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 7.5K bytes - Viewed (0) -
src/net/fd_wasip1.go
import ( "syscall" ) func (fd *netFD) closeRead() error { if fd.fakeNetFD != nil { return fd.fakeNetFD.closeRead() } return fd.shutdown(syscall.SHUT_RD) } func (fd *netFD) closeWrite() error { if fd.fakeNetFD != nil { return fd.fakeNetFD.closeWrite() } return fd.shutdown(syscall.SHUT_WR)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 496 bytes - Viewed (0) -
testing/smoke-test/src/smokeTest/resources/org/gradle/play/integtest/fixtures/external/basicplayapp/app/controllers/Application.scala
@Singleton class Application @Inject() extends InjectedController { def index = Action { Ok(views.html.index("Your new application is ready.")) } def shutdown = Action { Runtime.getRuntime().halt(0) Ok("shutdown") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 941 bytes - Viewed (0) -
tests/test_router_events.py
def app_startup() -> None: state.app_startup = True @app.on_event("shutdown") def app_shutdown() -> None: state.app_shutdown = True router = APIRouter() @router.on_event("startup") def router_startup() -> None: state.router_startup = True @router.on_event("shutdown") def router_shutdown() -> None: state.router_shutdown = True
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Wed Oct 18 12:36:40 UTC 2023 - 3.2K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/QueueDispatcher.kt
throw UnsupportedOperationException("unexpected call") } fun enqueueResponse(response: MockResponse) { delegate.enqueueResponse(response.wrap()) } override fun shutdown() { delegate.shutdown() } fun setFailFast(failFast: Boolean) { delegate.setFailFast(failFast) } fun setFailFast(failFastResponse: MockResponse?) { delegate.setFailFast(failFastResponse?.wrap()) }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sun Oct 18 12:55:43 UTC 2020 - 1.3K bytes - Viewed (0) -
docs/pt/docs/advanced/events.md
### Evento `shutdown` Para adicionar uma função que deve ser executada quando a aplicação estiver encerrando, declare ela com o evento `"shutdown"`: ```Python hl_lines="6" {!../../../docs_src/events/tutorial002.py!} ``` Aqui, a função de manipulação de evento `shutdown` irá escrever uma linha de texto `"Application shutdown"` no arquivo `log.txt`. !!! info "Informação"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 8.6K bytes - Viewed (0)