Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 52 for CacheBuilder (0.2 sec)

  1. android/guava/src/com/google/common/cache/package-info.java

     * the License.
     */
    
    /**
     * <a href="https://guava.dev/CacheBuilder">Discouraged</a> (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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 23 19:57:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

    import org.dbflute.cbean.result.ListResultBean;
    import org.dbflute.optional.OptionalEntity;
    import org.dbflute.optional.OptionalThing;
    
    import com.google.common.cache.Cache;
    import com.google.common.cache.CacheBuilder;
    
    import jakarta.annotation.PostConstruct;
    
    public class CrawlingConfigHelper {
    
        private static final Logger logger = LogManager.getLogger(CrawlingConfigHelper.class);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

       */
      public static class LocalManualCache<K, V> extends AbstractCache<K, V> {
        final LocalCache<K, V> localCache;
    
        LocalManualCache(CacheBuilder<? super K, ? super V> builder) {
          this(builder, null);
        }
    
        protected LocalManualCache(
            CacheBuilder<? super K, ? super V> builder, CacheLoader<? super K, V> loader) {
          this.localCache = new LocalCache<K, V>(builder, loader);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

        CacheBuilderFactory factory = cacheFactory();
        return Iterables.transform(
            factory.buildAllPermutations(),
            new Function<CacheBuilder<Object, Object>, LoadingCache<Object, Object>>() {
              @Override
              public LoadingCache<Object, Object> apply(CacheBuilder<Object, Object> builder) {
                return builder.build(identityLoader());
              }
            });
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/EmptyCachesTest.java

        CacheBuilderFactory factory = cacheFactory();
        return Iterables.transform(
            factory.buildAllPermutations(),
            new Function<CacheBuilder<Object, Object>, LoadingCache<Object, Object>>() {
              @Override
              public LoadingCache<Object, Object> apply(CacheBuilder<Object, Object> builder) {
                return builder.build(identityLoader());
              }
            });
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

    import org.codelibs.fess.suggest.request.popularwords.PopularWordsRequestBuilder;
    import org.codelibs.fess.util.ComponentUtil;
    
    import com.google.common.cache.Cache;
    import com.google.common.cache.CacheBuilder;
    
    import jakarta.annotation.PostConstruct;
    
    public class PopularWordHelper {
        private static final Logger logger = LogManager.getLogger(PopularWordHelper.class);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/CacheManualTest.java

    import junit.framework.TestCase;
    
    /** @author Charles Fry */
    public class CacheManualTest extends TestCase {
    
      public void testGetIfPresent() {
        Cache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build();
        CacheStats stats = cache.stats();
        assertEquals(0, stats.missCount());
        assertEquals(0, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 5.4K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java

    import org.codelibs.fess.crawler.util.OpenSearchCrawlerConfig;
    import org.opensearch.action.DocWriteRequest.OpType;
    import org.opensearch.index.query.QueryBuilders;
    
    import com.google.common.cache.CacheBuilder;
    import com.google.common.cache.CacheLoader;
    import com.google.common.cache.LoadingCache;
    
    import jakarta.annotation.PostConstruct;
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

        // random integers will be generated in this range, then raised to the
        // power of (1/concentration) and floor()ed
        max = Ints.checkedCast((long) Math.pow(distinctKeys, concentration));
    
        cache =
            CacheBuilder.newBuilder()
                .concurrencyLevel(segments)
                .maximumSize(maximumSize)
                .build(
                    new CacheLoader<Integer, Integer>() {
                      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.base.MoreObjects;
    import com.google.common.base.Objects;
    import com.google.common.cache.CacheBuilder;
    import com.google.common.cache.CacheLoader;
    import com.google.common.cache.LoadingCache;
    import com.google.common.collect.HashMultimap;
    import com.google.common.collect.ImmutableList;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top