Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for simulateValueReclamation (0.41 sec)

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

        assertNotNull(cache.getUnchecked(key));
    
        CacheTesting.simulateValueReclamation(cache, key);
    
        // this blocks if computation can't deal with partially-collected values
        assertNotNull(cache.getUnchecked(key));
        assertEquals(1, cache.size());
        assertEquals(2, countingLoader.getCount());
    
        CacheTesting.simulateValueReclamation(cache, key);
        cache.refresh(key);
        checkNothingLogged();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 86.3K bytes
    - Viewed (0)
Back to top