Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for QueuingRemovalListener (0.19 sec)

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

        return new NullRemovalListener<>();
      }
    
      /** Type-inferring factory method for creating a {@link QueuingRemovalListener}. */
      @GwtIncompatible // ConcurrentLinkedQueue
      static <K, V> QueuingRemovalListener<K, V> queuingRemovalListener() {
        return new QueuingRemovalListener<>();
      }
    
      /** Type-inferring factory method for creating a {@link CountingRemovalListener}. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/TestingRemovalListeners.java

        return new NullRemovalListener<>();
      }
    
      /** Type-inferring factory method for creating a {@link QueuingRemovalListener}. */
      @GwtIncompatible // ConcurrentLinkedQueue
      static <K, V> QueuingRemovalListener<K, V> queuingRemovalListener() {
        return new QueuingRemovalListener<>();
      }
    
      /** Type-inferring factory method for creating a {@link CountingRemovalListener}. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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