Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for delays (0.04 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/AbstractIntervalController.java

                }
            }
        }
    
        /**
         * Delays the crawling process before processing a URL.
         */
        protected abstract void delayBeforeProcessing();
    
        /**
         * Delays the crawling process after processing a URL.
         */
        protected abstract void delayAfterProcessing();
    
        /**
         * Delays the crawling process when there are no URLs in the queue.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:58:39 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/DefaultIntervalController.java

     * This class provides a default way to manage delays between crawler operations.
     * It allows setting delays before processing, after processing, when no URLs are in the queue,
     * and when waiting for new URLs.
     * The delays are configurable via constructor parameters.
     *
     */
    public class DefaultIntervalController extends AbstractIntervalController {
    
        /** Delay in milliseconds after processing a URL */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:58:39 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/crawler/interval/FessIntervalController.java

            super();
        }
    
        /**
         * Gets the delay time in milliseconds after processing a URL.
         *
         * @return the delay time in milliseconds after processing
         */
        public long getDelayMillisAfterProcessing() {
            return delayMillisAfterProcessing;
        }
    
        /**
         * Sets the delay time in milliseconds after processing a URL.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Wed Nov 19 07:09:17 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java

     * The delayBeforeProcessing method is overridden to introduce a delay before processing a URL,
     * ensuring that requests to the same host are not made too frequently.
     * The delay is calculated based on the configured delayMillisBeforeProcessing parameter.
     * If the time since the last request to the host is less than the configured delay,
     * the thread waits until the delay has elapsed.
     * This class is thread-safe.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. CLAUDE.md

        runner.close();
        runner.clean();
    }
    ```
    
    ### Testing Best Practices
    
    - Minimize `Thread.sleep()` - use only when absolutely necessary
    - For timestamp tests: use minimal delays (50-100ms)
    - Clean only test-specific indices (not `_all` unless needed)
    - Use `runner.refresh()` after index operations
    - Test with realistic multilingual content
    
    ### Key Test Classes
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

         * @param to the end time in HH:MM format
         * @param days comma-separated list of days (1=Sunday, 7=Saturday)
         * @param delay the delay in milliseconds to apply during this interval
         */
        public void addIntervalRule(final String from, final String to, final String days, final long delay) {
            ruleList.add(new IntervalRule(from, to, days, delay));
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Nov 23 12:34:02 UTC 2025
    - 10K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java

        protected UrlFilter urlFilter;
    
        /**
         * Manager for crawling rules and configurations.
         */
        protected RuleManager ruleManager;
    
        /**
         * Controller for managing crawling intervals and delays.
         */
        protected IntervalController intervalController;
    
        /**
         * Set of robots.txt URLs that have been processed.
         */
        protected Set<String> robotsTxtUrlSet = new LruHashSet<>(10000);
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

        }
    
        /**
         * Gets the crawl delay value for the specified user agent from robots.txt.
         * The crawl delay specifies the time (in seconds) to wait between successive requests.
         *
         * @param userAgent The user agent string to match against robots.txt directives
         * @return The crawl delay value in seconds. Returns 0 if no matching directive is found
         *         or no crawl delay is specified for the matching directive.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

        /**
         * Container for managing crawler components.
         */
        @Resource
        protected CrawlerContainer crawlerContainer;
    
        /**
         * Controller for managing crawling intervals and delays.
         */
        @Resource
        protected IntervalController intervalController;
    
        /**
         * Factory for creating crawler clients.
         */
        @Resource
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 17K bytes
    - Viewed (0)
  10. src/main/java/jcifs/Configuration.java

         *
         * @return the registration timeout
         */
        long getWitnessRegistrationTimeout();
    
        /**
         * Gets the witness reconnect delay in milliseconds.
         *
         * @return the reconnect delay
         */
        long getWitnessReconnectDelay();
    
        /**
         * Gets whether witness service discovery is enabled.
         *
         * @return true if discovery is enabled
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top