Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for enterInterruptibly (1.63 sec)

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

      }
    
      @Override
      protected final void tearDown() {
        tearDownStack.runTearDown();
      }
    
      private String enter() {
        return interruptible ? "enterInterruptibly" : "enter";
      }
    
      private String tryEnter() {
        return "tryEnter";
      }
    
      private String enterIf() {
        return interruptible ? "enterIfInterruptibly" : "enterIf";
      }
    
    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

       * @throws InterruptedException if interrupted while waiting
       * @since 28.0 (but only since 33.4.0 in the Android flavor)
       */
      public boolean enterInterruptibly(Duration time) throws InterruptedException {
        return enterInterruptibly(toNanosSaturated(time), TimeUnit.NANOSECONDS);
      }
    
      /**
       * Enters this monitor. Blocks at most the given time, and may be interrupted.
       *
       * @return whether the monitor was entered
    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