Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for enterIfInterruptibly (0.08 sec)

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

        return interruptible ? "enterInterruptibly" : "enter";
      }
    
      private String tryEnter() {
        return "tryEnter";
      }
    
      private String enterIf() {
        return interruptible ? "enterIfInterruptibly" : "enterIf";
      }
    
      private String tryEnterIf() {
        return "tryEnterIf";
      }
    
      private String enterWhen() {
        return interruptible ? "enterWhen" : "enterWhenUninterruptibly";
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/Monitor.java

       * @since 28.0 (but only since 33.4.0 in the Android flavor)
       */
      public boolean enterIfInterruptibly(Guard guard, Duration time) throws InterruptedException {
        return enterIfInterruptibly(guard, toNanosSaturated(time), TimeUnit.NANOSECONDS);
      }
    
      /**
       * Enters this monitor if the guard is satisfied. Blocks at most the given time acquiring the
    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