Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 20 for cacheBuilder (0.22 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava/src/com/google/common/cache/RemovalCause.java

       * occur when using {@link CacheBuilder#weakKeys}, {@link CacheBuilder#weakValues}, or {@link
       * CacheBuilder#softValues}.
       */
      COLLECTED {
        @Override
        boolean wasEvicted() {
          return true;
        }
      },
    
      /**
       * The entry's expiration timestamp has passed. This can occur when using {@link
       * CacheBuilder#expireAfterWrite} or {@link CacheBuilder#expireAfterAccess}.
       */
      EXPIRED {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Helper class for creating {@link CacheBuilder} instances with all combinations of several sets of
     * parameters.
     *
     * @author mike nonemacher
     */
    @NullUnmarked
    class CacheBuilderFactory {
      // Default values contain only 'null', which means don't call the CacheBuilder method (just give
      // the CacheBuilder default).
      private Set<Integer> concurrencyLevels = Sets.newHashSet((Integer) null);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  3. guava-tests/benchmark/com/google/common/cache/MapMakerComparisonBenchmark.java

      // Non-loading versions:
      private final Map<Object, Object> map = new MapMaker().makeMap(); // Returns ConcurrentHashMap
      private final Cache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build();
      private final Cache<Object, Object> cacheNoStats = CacheBuilder.newBuilder().build();
    
      @BeforeExperiment
      void setUp() {
        map.put(TEST_KEY, TEST_VALUE);
        cache.put(TEST_KEY, TEST_VALUE);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2K bytes
    - Click Count (0)
  4. guava/src/com/google/common/cache/package-info.java

     * the License.
     */
    
    /**
     * {@linkplain CacheBuilder Discouraged} (in favor of <a
     * href="https://github.com/ben-manes/caffeine/wiki">Caffeine</a>) caching utilities.
     *
     * <p>The core interface used to represent caches is {@link Cache}. In-memory caches can be
     * configured and created using {@link CacheBuilder}, with cache entries being loaded by {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jan 03 19:02:39 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  5. guava/src/com/google/common/cache/Cache.java

       *
       * <ul>
       *   <li>consolidation of the loader logic to {@linkplain CacheBuilder#build(CacheLoader) a single
       *       authoritative location}
       *   <li>{@linkplain LoadingCache#refresh refreshing of entries}, including {@linkplain
       *       CacheBuilder#refreshAfterWrite automated refreshing}
       *   <li>{@linkplain LoadingCache#getAll bulk loading requests}, including {@linkplain
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 8K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/cache/package-info.java

     * the License.
     */
    
    /**
     * {@linkplain CacheBuilder Discouraged} (in favor of <a
     * href="https://github.com/ben-manes/caffeine/wiki">Caffeine</a>) caching utilities.
     *
     * <p>The core interface used to represent caches is {@link Cache}. In-memory caches can be
     * configured and created using {@link CacheBuilder}, with cache entries being loaded by {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jan 03 19:02:39 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/cache/Cache.java

       *
       * <ul>
       *   <li>consolidation of the loader logic to {@linkplain CacheBuilder#build(CacheLoader) a single
       *       authoritative location}
       *   <li>{@linkplain LoadingCache#refresh refreshing of entries}, including {@linkplain
       *       CacheBuilder#refreshAfterWrite automated refreshing}
       *   <li>{@linkplain LoadingCache#getAll bulk loading requests}, including {@linkplain
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 8.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/ComputationException.java

     *     thrown by {@link MapMaker} computing maps. When support for computing maps was removed from
     *     {@code MapMaker}, it was added to {@code CacheBuilder}, which throws {@code
     *     ExecutionException}, {@code UncheckedExecutionException}, and {@code ExecutionError}. Any
     *     code that is still catching {@code ComputationException} may need to be updated to catch some
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/ComputationException.java

     *     thrown by {@link MapMaker} computing maps. When support for computing maps was removed from
     *     {@code MapMaker}, it was added to {@code CacheBuilder}, which throws {@code
     *     ExecutionException}, {@code UncheckedExecutionException}, and {@code ExecutionError}. Any
     *     code that is still catching {@code ComputationException} may need to be updated to catch some
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/cache/RemovalNotification.java

    /**
     * A notification of the removal of a single entry. The key and/or value may be null if they were
     * already garbage collected.
     *
     * <p>Like other {@code Entry} instances associated with {@code CacheBuilder}, this class holds
     * strong references to the key and value, regardless of the type of references the cache may be
     * using.
     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 2.5K bytes
    - Click Count (0)
Back to Top