Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 324 for cache2 (0.3 sec)

  1. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

        protected int count = 1;
    
        /**
         * Cache for storing crawling configurations to improve performance.
         */
        protected Cache<String, CrawlingConfig> crawlingConfigCache;
    
        /**
         * Initializes the CrawlingConfigHelper by setting up the crawling configuration cache.
         * This method is called automatically after the bean construction is complete.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

            } catch (final Exception e) {
                return url;
            }
        }
    
        /**
         * Gets the character encoding for a parent URL from cache or data service.
         * Caches encoding information to improve performance on subsequent requests.
         *
         * @param parentUrl the parent URL to get encoding for
         * @param sessionId the session ID for the crawling session
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  3. docs/features/interceptors.md

    ```java
    /** Dangerous interceptor that rewrites the server's cache-control header. */
    private static final Interceptor REWRITE_CACHE_CONTROL_INTERCEPTOR = new Interceptor() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

        }
    
        public void test_store_triggersIndexing_whenCacheSizeExceeded() {
            // Set small cache size
            indexUpdateCallback.maxDocumentCacheSize = 1;
    
            DataStoreParams paramMap = new DataStoreParams();
    
            // Add first document - should trigger indexing because cache size is 1
            Map<String, Object> dataMap1 = new HashMap<>();
            dataMap1.put("url", "http://example.com/test1");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

                // Clean up system property
                System.clearProperty(Constants.FESS_CONFIG_PREFIX + testKey);
            }
        }
    
        // Test cache behavior with system property changes
        public void test_get_cacheAfterSystemPropertyChange() {
            String testKey = "cache.test";
            String initialValue = "initial";
            System.setProperty(Constants.FESS_CONFIG_PREFIX + testKey, initialValue);
    
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        taskFaker.runNextTask()
    
        // The rebuild is retried on cache hits and on cache edits.
        val snapshot = cache["b"]!!
        snapshot.close()
        assertThat(cache.edit("d")).isNull()
        assertThat(taskFaker.isIdle()).isFalse()
    
        // On cache misses, no retry job is queued.
        assertThat(cache["c"]).isNull()
        assertThat(taskFaker.isIdle()).isFalse()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 75.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

        protected CrawlerClientFactory crawlerClientFactory;
    
        /** List of URLs to be deleted, cached for batch processing. */
        protected List<String> deleteUrlList = new ArrayList<>(100);
    
        /** Maximum size of the delete URL cache before batch deletion is triggered. */
        protected int maxDeleteDocumentCacheSize;
    
        /** Maximum number of redirects to follow when processing URLs. */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

        }
    
        public void test_init_cacheConfiguration() {
            // Test that init properly configures the cache
            CrawlingConfigHelper newHelper = new CrawlingConfigHelper();
            newHelper.init();
            assertNotNull(newHelper);
            // Cache should be initialized and functional
            assertNull(newHelper.getCrawlingConfig("invalid"));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 34.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

             * It's very unlikely that any loaded Futures class will see getChecked called with more
             * than a handful of exceptions. But it seems prudent to set a cap on how many we'll cache.
             * This avoids out-of-control memory consumption, and it keeps the cache from growing so
             * large that doing the lookup is noticeably slower than redoing the work would be.
             *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. CHANGELOG.md

     *  Breaking: Reorder the parameters in the Cache constructor that was introduced in 5.0.0-alpha.3.
    
     *  New: `Request.Builder.cacheUrlOverride()` customizes the cache key used for a request. This can
        be used to make canonical URLs for the cache that omit insignificant query parameters or other
        irrelevant data.
    
        This feature may be used with `POST` requests to cache their responses. In such cases the
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 31.6K bytes
    - Viewed (1)
Back to top