Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for PaddedLock (0.09 sec)

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

       * is reentrant.
       *
       * @param stripes the minimum number of stripes (locks) required
       * @return a new {@code Striped<Lock>}
       */
      public static Striped<Lock> lock(int stripes) {
        return custom(stripes, PaddedLock::new);
      }
    
      /**
       * Creates a {@code Striped<Lock>} with lazily initialized, weakly referenced locks. Every lock is
       * reentrant.
       *
       * @param stripes the minimum number of stripes (locks) required
    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