Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for lazyWeakCustom (1.1 sec)

  1. guava/src/com/google/common/util/concurrent/Striped.java

       * reentrant.
       *
       * @param stripes the minimum number of stripes (locks) required
       * @return a new {@code Striped<Lock>}
       */
      public static Striped<Lock> lazyWeakLock(int stripes) {
        return lazyWeakCustom(stripes, () -> new ReentrantLock(false));
      }
    
      /**
       * Creates a {@code Striped<L>} with lazily initialized, weakly referenced locks. Every lock is
       * obtained from the passed supplier.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top