Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for tryEnterIf (0.05 seconds)

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

      }
    
      private String tryEnter() {
        return "tryEnter";
      }
    
      private String enterIf() {
        return interruptible ? "enterIfInterruptibly" : "enterIf";
      }
    
      private String tryEnterIf() {
        return "tryEnterIf";
      }
    
      private String enterWhen() {
        return interruptible ? "enterWhen" : "enterWhenUninterruptibly";
      }
    
      private String waitFor() {
    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

      }
    
      private String tryEnter() {
        return "tryEnter";
      }
    
      private String enterIf() {
        return interruptible ? "enterIfInterruptibly" : "enterIf";
      }
    
      private String tryEnterIf() {
        return "tryEnterIf";
      }
    
      private String enterWhen() {
        return interruptible ? "enterWhen" : "enterWhenUninterruptibly";
      }
    
      private String waitFor() {
    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

       *
       * <p><b>Note:</b> This method disregards the fairness setting of this monitor.
       *
       * @return whether the monitor was entered, which guarantees that the guard is now satisfied
       */
      public boolean tryEnterIf(Guard guard) {
        if (guard.monitor != this) {
          throw new IllegalMonitorStateException();
        }
        ReentrantLock lock = this.lock;
        if (!lock.tryLock()) {
          return false;
        }
    
    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)
Back to Top