Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for STARTING (0.06 sec)

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

        service.startAsync().awaitRunning();
        assertEquals(1, service.startUpCalled);
        assertEquals(Service.State.RUNNING, service.state());
        assertThat(service.transitionStates).containsExactly(Service.State.STARTING);
      }
    
      public void testStart_failed() {
        final Exception exception = new Exception("deliberate");
        TestService service =
            new TestService() {
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

        service.startAsync().awaitRunning();
        assertEquals(1, service.startUpCalled);
        assertEquals(Service.State.RUNNING, service.state());
        assertThat(service.transitionStates).containsExactly(Service.State.STARTING);
      }
    
      public void testStart_failed() {
        final Exception exception = new Exception("deliberate");
        TestService service =
            new TestService() {
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

          this.state = state;
        }
    
        @Override
        public void starting() {
          ServiceManagerState state = this.state.get();
          if (state != null) {
            state.transitionService(service, NEW, STARTING);
            if (!(service instanceof NoOpService)) {
              logger.get().log(Level.FINE, "Starting {0}.", service);
            }
          }
        }
    
        @Override
        public void running() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/ServiceManager.java

          this.state = state;
        }
    
        @Override
        public void starting() {
          ServiceManagerState state = this.state.get();
          if (state != null) {
            state.transitionService(service, NEW, STARTING);
            if (!(service instanceof NoOpService)) {
              logger.get().log(Level.FINE, "Starting {0}.", service);
            }
          }
        }
    
        @Override
        public void running() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

        @Override
        protected void startUp() {
          assertFalse(startUpCalled);
          assertFalse(runCalled);
          assertFalse(shutDownCalled);
          startUpCalled = true;
          assertEquals(State.STARTING, state());
        }
    
        @Override
        protected void run() {
          assertTrue(startUpCalled);
          assertFalse(runCalled);
          assertFalse(shutDownCalled);
          runCalled = true;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/site/apt/logging.apt

     / {{{https://codehaus-plexus.github.io/plexus-containers/plexus-container-default/apidocs/org/codehaus/plexus/logging/Logger.html}Logger}}.
    
     Starting with Maven 3.1.0:
    
      *  Maven supports SLF4J API logging API too, ie {{{http://slf4j.org/apidocs/org/slf4j/LoggerFactory.html}LoggerFactory}} /
         {{{http://slf4j.org/apidocs/org/slf4j/Logger.html}Logger}},
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

        @Override
        protected void startUp() {
          assertFalse(startUpCalled);
          assertFalse(runCalled);
          assertFalse(shutDownCalled);
          startUpCalled = true;
          assertEquals(State.STARTING, state());
        }
    
        @Override
        protected void run() {
          assertTrue(startUpCalled);
          assertFalse(runCalled);
          assertFalse(shutDownCalled);
          runCalled = true;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. docs/en/docs/deployment/docker.md

    ### Single Container
    
    If you have a simple setup, with a **single container** that then starts multiple **worker processes** (or also just one process), then you could run those previous steps in the same container, right before starting the process with the app.
    
    ### Base Docker Image
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Sep 18 16:09:57 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/bigger-applications.md

    If you know perfectly how imports work, continue to the next section below.
    
    ///
    
    A single dot `.`, like in:
    
    ```Python
    from .dependencies import get_token_header
    ```
    
    would mean:
    
    * Starting in the same package that this module (the file `app/routers/items.py`) lives in (the directory `app/routers/`)...
    * find the module `dependencies` (an imaginary file at `app/routers/dependencies.py`)...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  10. docs/en/docs/deployment/concepts.md

    ///
    
    ## Previous Steps Before Starting
    
    There are many cases where you want to perform some steps **before starting** your application.
    
    For example, you might want to run **database migrations**.
    
    But in most cases, you will want to perform these steps only **once**.
    
    So, you will want to have a **single process** to perform those **previous steps**, before starting the application.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Sep 18 16:09:57 UTC 2024
    - 17.8K bytes
    - Viewed (0)
Back to top