Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testUpdate (2.42 sec)

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

        // ensure no zombie entry remains
        cache.asMap().computeIfPresent(1, (key, value) -> null);
        assertThat(notifications).hasSize(1);
        CacheTesting.checkEmpty(cache);
      }
    
      public void testUpdates() {
        cache.put(key, "1");
        // simultaneous update for same key, some null, some non-null
        doParallelCacheOp(
            count,
            n -> {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.3K bytes
    - Viewed (0)
Back to top