- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for checkCrawlerStatus (0.08 sec)
-
src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java
helper.setCrawlerWaitMillis(50); // Test when crawler is running assertTrue(helper.isCrawlerRunning()); long start = System.currentTimeMillis(); helper.checkCrawlerStatus(); long end = System.currentTimeMillis(); assertTrue(end - start < 100); // Should return quickly // Test when crawler is not running helper.setCrawlerRunning(false);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/interval/FessIntervalController.java
ComponentUtil.getSystemHelper().calibrateCpuLoad(); try { final IntervalControlHelper intervalControlHelper = ComponentUtil.getIntervalControlHelper(); intervalControlHelper.checkCrawlerStatus(); intervalControlHelper.delayByRules(); } catch (final Exception e) {} super.delayForWaitingNewUrl(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java
/** * Checks the crawler status and waits if the crawler is not running. * This method blocks until the crawler is running again. */ public void checkCrawlerStatus() { while (!crawlerRunning) { ThreadUtil.sleepQuietly(crawlerWaitMillis); } } /** * Applies delay based on the configured interval rules.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.9K bytes - Viewed (0)