Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for doParallelCacheOp (0.17 sec)

  1. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

        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 -> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top