Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for QueuingRemovalListener (0.12 sec)

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

                if (shouldWait.get()) {
                  computingLatch.await();
                }
                return key;
              }
            };
        QueuingRemovalListener<String, String> listener = queuingRemovalListener();
    
        final LoadingCache<String, String> cache =
            CacheBuilder.newBuilder()
                .concurrencyLevel(1)
                .removalListener(listener)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/NullCacheTest.java

    import static com.google.common.cache.TestingRemovalListeners.queuingRemovalListener;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.cache.CacheLoader.InvalidCacheLoadException;
    import com.google.common.cache.TestingRemovalListeners.QueuingRemovalListener;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/NullCacheTest.java

    import static com.google.common.cache.TestingRemovalListeners.queuingRemovalListener;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.cache.CacheLoader.InvalidCacheLoadException;
    import com.google.common.cache.TestingRemovalListeners.QueuingRemovalListener;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

                computingSignal.countDown();
                startSignal.await();
                return computedObject;
              }
            };
    
        QueuingRemovalListener<Object, Object> listener = queuingRemovalListener();
        CacheBuilder<Object, Object> builder =
            createCacheBuilder().concurrencyLevel(1).removalListener(listener);
        final LocalCache<Object, Object> map = makeLocalCache(builder);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/LocalCacheTest.java

                computingSignal.countDown();
                startSignal.await();
                return computedObject;
              }
            };
    
        QueuingRemovalListener<Object, Object> listener = queuingRemovalListener();
        CacheBuilder<Object, Object> builder =
            createCacheBuilder().concurrencyLevel(1).removalListener(listener);
        final LocalCache<Object, Object> map = makeLocalCache(builder);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
Back to top