Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for startupTimes (0.1 sec)

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

        serviceManager.startAsync().awaitHealthy();
        ImmutableMap<Service, Long> startupTimes = serviceManager.startupTimes();
        assertThat(startupTimes).hasSize(2);
        assertThat(startupTimes.get(a)).isAtLeast(150);
        assertThat(startupTimes.get(b)).isAtLeast(353);
      }
    
      public void testServiceStartupDurations() {
        if (isWindows() && isJava8()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

        }
    
        ImmutableMap<Service, Long> startupTimes() {
          List<Entry<Service, Long>> loadTimes;
          monitor.enter();
          try {
            loadTimes = Lists.newArrayListWithCapacity(startupTimers.size());
            // N.B. There will only be an entry in the map if the service has started
            for (Entry<Service, Stopwatch> entry : startupTimers.entrySet()) {
              Service service = entry.getKey();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/ServiceManager.java

        }
    
        ImmutableMap<Service, Long> startupTimes() {
          List<Entry<Service, Long>> loadTimes;
          monitor.enter();
          try {
            loadTimes = Lists.newArrayListWithCapacity(startupTimers.size());
            // N.B. There will only be an entry in the map if the service has started
            for (Entry<Service, Stopwatch> entry : startupTimers.entrySet()) {
              Service service = entry.getKey();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
Back to top