Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for waitForUninterruptibly (0.57 sec)

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

          } finally {
            monitor.leave();
          }
        }
    
        void awaitHealthy(long timeout, TimeUnit unit) throws TimeoutException {
          monitor.enter();
          try {
            if (!monitor.waitForUninterruptibly(awaitHealthGuard, timeout, unit)) {
              throw new TimeoutException(
                  "Timeout waiting for the services to become healthy. The "
                      + "following services have not started: "
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/Monitor.java

       *
       * @return whether the guard is now satisfied
       * @since 28.0 (but only since 33.4.0 in the Android flavor)
       */
      public boolean waitForUninterruptibly(Guard guard, Duration time) {
        return waitForUninterruptibly(guard, toNanosSaturated(time), TimeUnit.NANOSECONDS);
      }
    
      /**
       * Waits for the guard to be satisfied. Waits at most the given time. May be called only by a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
Back to top