Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for CrawlerStatus (0.09 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

            assertTrue(CrawlerStatus.DONE.equals(CrawlerStatus.DONE));
    
            // Different instances
            assertFalse(CrawlerStatus.INITIALIZING.equals(CrawlerStatus.RUNNING));
            assertFalse(CrawlerStatus.INITIALIZING.equals(CrawlerStatus.DONE));
            assertFalse(CrawlerStatus.RUNNING.equals(CrawlerStatus.DONE));
    
            // Null comparison
            assertFalse(CrawlerStatus.INITIALIZING.equals(null));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

         */
        public void test_status() {
            assertEquals(CrawlerStatus.INITIALIZING, crawlerContext.getStatus());
    
            crawlerContext.setStatus(CrawlerStatus.RUNNING);
            assertEquals(CrawlerStatus.RUNNING, crawlerContext.getStatus());
    
            crawlerContext.setStatus(CrawlerStatus.DONE);
            assertEquals(CrawlerStatus.DONE, crawlerContext.getStatus());
    
            crawlerContext.setStatus(null);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  3. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                while (crawler.crawlerContext.getStatus() != CrawlerStatus.RUNNING && System.currentTimeMillis() - startTime < 5000) {
                    try {
                        Thread.sleep(50);
                    } catch (InterruptedException e) {
                        Thread.currentThread().interrupt();
                        break;
                    }
                }
                assertEquals(CrawlerStatus.RUNNING, crawler.crawlerContext.getStatus());
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                while (crawler.crawlerContext.getStatus() != CrawlerStatus.RUNNING && System.currentTimeMillis() - startTime < 5000) {
                    try {
                        Thread.sleep(50);
                    } catch (InterruptedException e) {
                        Thread.currentThread().interrupt();
                        break;
                    }
                }
                assertEquals(CrawlerStatus.RUNNING, crawler.crawlerContext.getStatus());
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

            }
        }
    
        /**
         * Stops the crawling process.
         * Sets the crawler status to DONE and interrupts all crawler threads.
         */
        public void stop() {
            crawlerContext.setStatus(CrawlerStatus.DONE);
            try {
                if (crawlerThreadGroup != null) {
                    crawlerThreadGroup.interrupt();
                }
            } catch (final Exception e) {
                // ignore
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

    import org.codelibs.core.lang.ThreadUtil;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.crawler.Crawler;
    import org.codelibs.fess.crawler.CrawlerContext;
    import org.codelibs.fess.crawler.CrawlerStatus;
    import org.codelibs.fess.crawler.interval.FessIntervalController;
    import org.codelibs.fess.crawler.service.impl.OpenSearchDataService;
    import org.codelibs.fess.crawler.service.impl.OpenSearchUrlFilterService;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  7. README.md

    ```java
    // Configure for background execution
    crawler.setBackground(true);
    String sessionId = crawler.execute();
    
    // Check crawling status
    while (crawler.crawlerContext.getStatus() == CrawlerStatus.RUNNING) {
        Thread.sleep(1000);
        System.out.println("Crawling in progress...");
    }
    
    // Wait for completion
    crawler.awaitTermination();
    System.out.println("Crawling completed");
    ```
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

     * and provides methods for logging messages using {@link LogHelper}.
     * </p>
     *
     * <p>
     * The crawling process continues until the crawler status is {@link CrawlerStatus#DONE} or the
     * {@link #isContinue(int)} method returns {@code false}.
     * </p>
     *
     */
    public class CrawlerThread implements Runnable {
        /**
         * Constructs a new CrawlerThread.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  9. src/main/resources/fess_label_nl.properties

    labels.crawling_info_CrawlerStartTime=Starttijd crawler
    labels.crawling_info_CrawlerEndTime=Eindtijd crawler
    labels.crawling_info_CrawlerExecTime=Uitvoeringstijd crawler
    labels.crawling_info_CrawlerStatus=Crawlerstatus
    labels.crawling_info_WebFsCrawlExecTime=Crawltijd (Web/Bestand)
    labels.crawling_info_WebFsCrawlStartTime=Starttijd crawl (Web/Bestand)
    labels.crawling_info_WebFsCrawlEndTime=Eindtijd crawl (Web/Bestand)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 04:56:21 UTC 2025
    - 42.8K bytes
    - Viewed (1)
  10. src/main/java/org/codelibs/fess/Constants.java

        // Crawler Info Map Keys
        // ============================================================
    
        /** Info map key for crawler status information. */
        public static final String CRAWLER_STATUS = "CrawlerStatus";
    
        /** Info map key for crawler error information. */
        public static final String CRAWLER_ERRORS = "CrawlerErrors";
    
        /** Info map key for crawler start time. */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 34.6K bytes
    - Viewed (0)
Back to top