Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for InvalidCacheLoadException (0.13 sec)

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

        assertEquals(0, stats.hitCount());
    
        assertThrows(InvalidCacheLoadException.class, () -> cache.get(new Object()));
        stats = cache.stats();
        assertEquals(1, stats.missCount());
        assertEquals(0, stats.loadSuccessCount());
        assertEquals(1, stats.loadExceptionCount());
        assertEquals(0, stats.hitCount());
    
        assertThrows(InvalidCacheLoadException.class, () -> cache.getUnchecked(new Object()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/LocalCache.java

    import com.google.common.cache.AbstractCache.StatsCounter;
    import com.google.common.cache.CacheBuilder.NullListener;
    import com.google.common.cache.CacheBuilder.OneWeigher;
    import com.google.common.cache.CacheLoader.InvalidCacheLoadException;
    import com.google.common.cache.CacheLoader.UnsupportedLoadingOperationException;
    import com.google.common.collect.AbstractSequentialIterator;
    import com.google.common.collect.ImmutableMap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
Back to top