Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for progress (0.03 sec)

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

            statusMap.put(CrawlerStatus.RUNNING, "In progress");
            statusMap.put(CrawlerStatus.DONE, "Completed");
    
            // Verify entries
            assertEquals(3, statusMap.size());
            assertEquals("Starting up", statusMap.get(CrawlerStatus.INITIALIZING));
            assertEquals("In progress", statusMap.get(CrawlerStatus.RUNNING));
    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. README.md

    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");
    ```
    
    ### Custom Content Extractor
    
    ```java
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

            // Start crawling
            crawlerContext.setStatus(CrawlerStatus.RUNNING);
            crawlerContext.setActiveThreadCount(5);
    
            // Simulate crawling progress
            for (int i = 0; i < 100; i++) {
                crawlerContext.incrementAndGetAccessCount();
                crawlerContext.getRobotsTxtUrlSet().add("http://site" + i + ".com/robots.txt");
            }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/AbstractIntervalController.java

                if (!ignoreException) {
                    throw new CrawlerSystemException("Could not stop a process.", e);
                }
            }
        }
    
        /**
         * Delays the crawling process before processing a URL.
         */
        protected abstract void delayBeforeProcessing();
    
        /**
         * Delays the crawling process after processing a URL.
         */
        protected abstract void delayAfterProcessing();
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

            private final Process process;
    
            private final long timeout;
    
            private boolean finished = false;
    
            private boolean teminated = false;
    
            /**
             * Constructs a new MonitorThread.
             * @param process The process to monitor.
             * @param timeout The timeout for the process.
             */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/log/LogType.java

    package org.codelibs.fess.crawler.log;
    
    /**
     * LogType defines the different types of log messages that can be generated during the crawling process.
     * Each enum constant represents a specific event or state in the crawler's execution.
     */
    public enum LogType {
        /** Indicates the start of a crawling process. */
        START_CRAWLING,
        /** Indicates the cleanup phase of crawling. */
        CLEANUP_CRAWLING,
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/NullResponseProcessor.java

            super();
        }
    
        /**
         * Processes the given response data.
         * This implementation does nothing.
         *
         * @param responseData the response data to process
         */
        @Override
        public void process(final ResponseData responseData) {
            // do nothing
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

     *   <li>Handling exceptions that may occur during the crawling process.</li>
     * </ol>
     *
     * <p>
     * The thread also manages the active thread count using {@code crawlerContext.activeThreadCountLock}
     * 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
    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. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/SitemapsResponseProcessor.java

            super();
        }
    
        /**
         * Processes the given response data, extracting URLs from sitemaps.
         * @param responseData The response data.
         */
        @Override
        public void process(final ResponseData responseData) {
            final SitemapsHelper sitemapsHelper = crawlerContainer.getComponent("sitemapsHelper");
            try (final InputStream responseBody = responseData.getResponseBody()) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

     * It encapsulates the process of extracting data from an input stream using a specified or detected extractor.
     * The builder allows setting parameters such as MIME type, filename, extractor name, maximum content length,
     * and cache file size to optimize the extraction process.
     *
     * <p>
     * The main purpose of this class is to simplify the extraction process by providing a fluent interface
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.1K bytes
    - Viewed (0)
Back to top