Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 58 for LoadingCache (0.47 sec)

  1. guava/src/com/google/common/cache/AbstractLoadingCache.java

     *
     * @author Charles Fry
     * @since 11.0
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractLoadingCache<K, V> extends AbstractCache<K, V>
        implements LoadingCache<K, V> {
    
      /** Constructor for use by subclasses. */
      protected AbstractLoadingCache() {}
    
      @CanIgnoreReturnValue // TODO(b/27479612): consider removing this?
      @Override
      public V getUnchecked(K key) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 2.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/AbstractLoadingCache.java

     *
     * @author Charles Fry
     * @since 11.0
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractLoadingCache<K, V> extends AbstractCache<K, V>
        implements LoadingCache<K, V> {
    
      /** Constructor for use by subclasses. */
      protected AbstractLoadingCache() {}
    
      @CanIgnoreReturnValue // TODO(b/27479612): consider removing this?
      @Override
      public V getUnchecked(K key) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 2.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheRefreshTest.java

     *
     * @author Charles Fry
     */
    public class CacheRefreshTest extends TestCase {
      public void testAutoRefresh() {
        FakeTicker ticker = new FakeTicker();
        IncrementingLoader loader = incrementingLoader();
        LoadingCache<Integer, Integer> cache =
            CacheBuilder.newBuilder()
                .refreshAfterWrite(3, MILLISECONDS)
                .expireAfterWrite(6, MILLISECONDS)
                .lenientParsing()
                .ticker(ticker)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/PluginHelper.java

    import com.google.common.cache.CacheBuilder;
    import com.google.common.cache.CacheLoader;
    import com.google.common.cache.LoadingCache;
    
    public class PluginHelper {
        private static final Logger logger = LogManager.getLogger(PluginHelper.class);
    
        protected LoadingCache<ArtifactType, Artifact[]> availableArtifacts = CacheBuilder.newBuilder().maximumSize(10)
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/RemovalCause.java

          return false;
        }
      },
    
      /**
       * The entry itself was not actually removed, but its value was replaced by the user. This can
       * result from the user invoking {@link Cache#put}, {@link LoadingCache#refresh}, {@link Map#put},
       * {@link Map#putAll}, {@link ConcurrentMap#replace(Object, Object)}, or {@link
       * ConcurrentMap#replace(Object, Object, Object)}.
       */
      REPLACED {
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 2.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheTesting.java

       * queue, and then reverify that all items in the cache are in the eviction queue, and verify that
       * the head of the eviction queue has changed as a result of the operation.
       */
      static void checkRecency(
          LoadingCache<Integer, Integer> cache,
          int maxSize,
          Receiver<ReferenceEntry<Integer, Integer>> operation) {
        checkNotNull(operation);
        if (hasLocalCache(cache)) {
          warmUp(cache, 0, 2 * maxSize);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/CacheRefreshTest.java

     *
     * @author Charles Fry
     */
    public class CacheRefreshTest extends TestCase {
      public void testAutoRefresh() {
        FakeTicker ticker = new FakeTicker();
        IncrementingLoader loader = incrementingLoader();
        LoadingCache<Integer, Integer> cache =
            CacheBuilder.newBuilder()
                .refreshAfterWrite(3, MILLISECONDS)
                .expireAfterWrite(6, MILLISECONDS)
                .lenientParsing()
                .ticker(ticker)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

    import org.lastaflute.web.util.LaServletContextUtil;
    import org.opensearch.common.joda.Joda;
    
    import com.google.common.cache.CacheBuilder;
    import com.google.common.cache.CacheLoader;
    import com.google.common.cache.LoadingCache;
    
    public class FessFunctions {
        private static final Logger logger = LogManager.getLogger(FessFunctions.class);
    
        private static final String GEO_PREFIX = "geo.";
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/CacheTesting.java

       * queue, and then reverify that all items in the cache are in the eviction queue, and verify that
       * the head of the eviction queue has changed as a result of the operation.
       */
      static void checkRecency(
          LoadingCache<Integer, Integer> cache,
          int maxSize,
          Receiver<ReferenceEntry<Integer, Integer>> operation) {
        checkNotNull(operation);
        if (hasLocalCache(cache)) {
          warmUp(cache, 0, 2 * maxSize);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

    import com.fasterxml.jackson.databind.ObjectMapper;
    import com.google.common.base.CaseFormat;
    import com.google.common.cache.CacheBuilder;
    import com.google.common.cache.CacheLoader;
    import com.google.common.cache.LoadingCache;
    
    public class SearchLogHelper {
        private static final Logger logger = LogManager.getLogger(SearchLogHelper.class);
    
        protected long userCheckInterval = 10 * 60 * 1000L;// 10 min
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 20.8K bytes
    - Viewed (1)
Back to top