Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for updateParams (0.27 sec)

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

                }
    
                @Override
                public void storeInfo(List<CrawlingInfoParam> crawlingInfoParamList) {
                    // Not called in updateParams
                }
            }, CrawlingInfoService.class.getCanonicalName());
    
            crawlingInfoHelper.updateParams(sessionId, "Test Crawl", 5);
    
            // Verify documentExpires is set (don't check exact timing due to test environment timing issues)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

                @Override
                public void store(String sessionId, boolean running) {
                    // Mock implementation
                }
    
                @Override
                public void updateParams(String sessionId, String name, int dayForCleanup) {
                    // Mock implementation
                }
    
                @Override
                public void putToInfoMap(String key, String value) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

         * @param dayForCleanup number of days until cleanup (sets expiration if >= 0)
         * @throws FessSystemException if unable to store the updated crawling session
         */
        public void updateParams(final String sessionId, final String name, final int dayForCleanup) {
            final CrawlingInfo crawlingInfo = getCrawlingInfoService().getLast(sessionId);
            if (crawlingInfo == null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/exec/Crawler.java

                    } catch (final NumberFormatException e) {}
                } else {
                    dayForCleanup = ComponentUtil.getFessConfig().getDayForCleanup();
                }
                crawlingInfoHelper.updateParams(options.sessionId, options.name, dayForCleanup);
            } catch (final Exception e) {
                logger.warn("Failed to store crawling information.", e);
            }
    
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 31K bytes
    - Viewed (0)
Back to top