- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for checkCrawlerStatus (0.07 seconds)
-
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.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Nov 23 12:34:02 GMT 2025 - 10K bytes - Click Count (0) -
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);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 13.6K bytes - Click Count (0)