- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for lazyWeakCustom (0.16 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java
.add(new Striped.LargeLazyStriped<Semaphore>(50, SEMAPHORE_SUPPLER)) .add(new Striped.LargeLazyStriped<Semaphore>(64, SEMAPHORE_SUPPLER)) .add(Striped.lazyWeakCustom(50, FAIR_LOCK_SUPPLER)) .add(Striped.lazyWeakCustom(64, FAIR_LOCK_SUPPLER)) .build(); } private static Iterable<Striped<?>> allImplementations() { return concat(strongImplementations(), weakImplementations()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 26 12:58:35 UTC 2024 - 8.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/StripedTest.java
.add(new Striped.LargeLazyStriped<Semaphore>(50, SEMAPHORE_SUPPLER)) .add(new Striped.LargeLazyStriped<Semaphore>(64, SEMAPHORE_SUPPLER)) .add(Striped.lazyWeakCustom(50, FAIR_LOCK_SUPPLER)) .add(Striped.lazyWeakCustom(64, FAIR_LOCK_SUPPLER)) .build(); } private static Iterable<Striped<?>> allImplementations() { return concat(strongImplementations(), weakImplementations()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 26 12:58:35 UTC 2024 - 8.4K bytes - Viewed (0) -
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)