Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testComputeWithLoad (0.05 sec)

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

        doParallelCacheOp(
            count,
            n -> {
              cache.asMap().compute(key, (k, v) -> null);
            });
        assertThat(cache.size()).isEqualTo(0);
      }
    
      public void testComputeWithLoad() {
        Queue<RemovalNotification<String, String>> notifications = new ConcurrentLinkedQueue<>();
        cache =
            CacheBuilder.newBuilder()
                .removalListener(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top