Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for transitionService (0.12 sec)

  1. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

          if (state != null) {
            state.transitionService(service, NEW, STARTING);
            if (!(service instanceof NoOpService)) {
              logger.get().log(Level.FINE, "Starting {0}.", service);
            }
          }
        }
    
        @Override
        public void running() {
          ServiceManagerState state = this.state.get();
          if (state != null) {
            state.transitionService(service, STARTING, 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)
  2. guava/src/com/google/common/util/concurrent/ServiceManager.java

          if (state != null) {
            state.transitionService(service, NEW, STARTING);
            if (!(service instanceof NoOpService)) {
              logger.get().log(Level.FINE, "Starting {0}.", service);
            }
          }
        }
    
        @Override
        public void running() {
          ServiceManagerState state = this.state.get();
          if (state != null) {
            state.transitionService(service, STARTING, 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)
  3. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        assertThat(expected.getMessage()).contains("started transitioning asynchronously");
      }
    
      /**
       * This test is for a case where two Service.Listener callbacks for the same service would call
       * transitionService in the wrong order due to a race. Due to the fact that it is a race this test
       * isn't guaranteed to expose the issue, but it is at least likely to become flaky if the race
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top