Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for enterWhenUninterruptibly (0.16 seconds)

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

        return interruptible ? "enterIfInterruptibly" : "enterIf";
      }
    
      private String tryEnterIf() {
        return "tryEnterIf";
      }
    
      private String enterWhen() {
        return interruptible ? "enterWhen" : "enterWhenUninterruptibly";
      }
    
      private String waitFor() {
        return interruptible ? "waitFor" : "waitForUninterruptibly";
      }
    
      private String leave() {
        return "leave";
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java

        return interruptible ? "enterIfInterruptibly" : "enterIf";
      }
    
      private String tryEnterIf() {
        return "tryEnterIf";
      }
    
      private String enterWhen() {
        return interruptible ? "enterWhen" : "enterWhenUninterruptibly";
      }
    
      private String waitFor() {
        return interruptible ? "waitFor" : "waitForUninterruptibly";
      }
    
      private String leave() {
        return "leave";
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/Monitor.java

       * @since 33.4.0 (but since 28.0 in the JRE flavor)
       */
      @IgnoreJRERequirement // Users will use this only if they're already using Duration.
      public boolean enterWhenUninterruptibly(Guard guard, Duration time) {
        return enterWhenUninterruptibly(guard, toNanosSaturated(time), NANOSECONDS);
      }
    
      /**
       * Enters this monitor when the guard is satisfied. Blocks at most the given time, including both
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 43.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractService.java

      @Override
      public final void awaitRunning() {
        monitor.enterWhenUninterruptibly(hasReachedRunning);
        try {
          checkCurrentState(RUNNING);
        } finally {
          monitor.leave();
        }
      }
    
      @Override
      public final void awaitRunning(long timeout, TimeUnit unit) throws TimeoutException {
        if (monitor.enterWhenUninterruptibly(hasReachedRunning, timeout, unit)) {
          try {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

          }
        }
    
        void addListener(Listener listener, Executor executor) {
          listeners.addListener(listener, executor);
        }
    
        void awaitHealthy() {
          monitor.enterWhenUninterruptibly(awaitHealthGuard);
          try {
            checkHealthy();
          } finally {
            monitor.leave();
          }
        }
    
        void awaitHealthy(long timeout, TimeUnit unit) throws TimeoutException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 33.2K bytes
    - Click Count (1)
Back to Top