Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for servicesByState (0.07 sec)

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

       *
       * @since 29.0 (present with return type {@code ImmutableMultimap} since 14.0)
       */
      @Override
      public ImmutableSetMultimap<State, Service> servicesByState() {
        return state.servicesByState();
      }
    
      /**
       * Returns the service load times. This value will only return startup times for services that
       * have finished starting.
       *
    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

       *
       * @since 29.0 (present with return type {@code ImmutableMultimap} since 14.0)
       */
      @Override
      public ImmutableSetMultimap<State, Service> servicesByState() {
        return state.servicesByState();
      }
    
      /**
       * Returns the service load times. This value will only return startup times for services that
       * have finished starting.
       *
    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

        manager.startAsync();
        manager.awaitStopped(10, MILLISECONDS);
        assertThat(manager.servicesByState().keySet()).containsExactly(Service.State.FAILED);
      }
    
      private static void assertState(
          ServiceManager manager, Service.State state, Service... services) {
        Collection<Service> managerServices = manager.servicesByState().get(state);
        for (Service service : services) {
    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