Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    import static com.google.common.util.concurrent.Uninterruptibles.tryAcquireUninterruptibly;
    import static com.google.common.util.concurrent.Uninterruptibles.tryLockUninterruptibly;
    import static java.util.concurrent.Executors.newFixedThreadPool;
    import static java.util.concurrent.Executors.newScheduledThreadPool;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

       */
      @J2ktIncompatible
      @GwtIncompatible // concurrency
      @IgnoreJRERequirement // Users will use this only if they're already using Duration.
      public static boolean tryLockUninterruptibly(Lock lock, Duration timeout) {
        return tryLockUninterruptibly(lock, toNanosSaturated(timeout), TimeUnit.NANOSECONDS);
      }
    
      /**
       * Invokes {@code lock.}{@link Lock#tryLock(long, TimeUnit) tryLock(timeout, unit)}
       * uninterruptibly.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.8K bytes
    - Viewed (0)
Back to top