Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setMaxCacheSize (0.05 sec)

  1. src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java

            assertEquals("test.stats.logger", crawlerStatsHelper.loggerName);
            crawlerStatsHelper.setLoggerName(originalLoggerName);
        }
    
        public void test_setMaxCacheSize() {
            crawlerStatsHelper.setMaxCacheSize(500);
            assertEquals(500, crawlerStatsHelper.maxCacheSize);
        }
    
        public void test_setCacheExpireAfterWrite() {
            crawlerStatsHelper.setCacheExpireAfterWrite(30000);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 15K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

            this.loggerName = loggerName;
        }
    
        /**
         * Sets the maximum number of statistics objects to cache.
         *
         * @param maxCacheSize the maximum cache size
         */
        public void setMaxCacheSize(final long maxCacheSize) {
            this.maxCacheSize = maxCacheSize;
        }
    
        /**
         * Sets the cache expiration time after write in milliseconds.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.4K bytes
    - Viewed (0)
Back to top