- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for doParallelCacheOp (0.15 seconds)
-
guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java
// simultaneous update for same key, some null, some non-null doParallelCacheOp( count, n -> cache.asMap().compute(key, (k, v) -> n % 2 == 0 ? v + delimiter + n : null)); assertThat(cache.size()).isAtMost(1); } public void testCompute() { cache.put(key, "1"); // simultaneous deletion doParallelCacheOp(count, n -> cache.asMap().compute(key, (k, v) -> null));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 6.4K bytes - Click Count (0)