Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testUpdateRecency_onGet (0.09 sec)

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

        cache.getUnchecked(objectWithHash(0));
        cache.getUnchecked(objectWithHash(0));
        CacheTesting.processPendingNotifications(cache);
        assertEquals(1, removalListener.getCount());
      }
    
      public void testUpdateRecency_onGet() {
        IdentityLoader<Integer> loader = identityLoader();
        final LoadingCache<Integer, Integer> cache =
            CacheBuilder.newBuilder().maximumSize(MAX_SIZE).build(loader);
        CacheTesting.checkRecency(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top