- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 104 for delayed (2.65 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java
// First access - should not delay final long start1 = System.nanoTime(); controller.delayBeforeProcessing(); final long elapsed1 = (System.nanoTime() - start1) / 1000000; assertTrue("First access should not delay", elapsed1 < 50); // Second access to same host - should delay q.setUrl("http://example.com/page2");Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 11.4K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java
} } /** * Applies delay based on the configured interval rules. * This method calculates the appropriate delay for the current time * and applies it by sleeping the current thread. */ public void delayByRules() { final long delay = getDelay(); if (delay > 0) { ThreadUtil.sleep(delay); } } /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sun Nov 23 12:34:02 UTC 2025 - 10K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SambaHelper.java
import jakarta.annotation.PostConstruct; /** * Helper class for Samba-related operations. */ public class SambaHelper { private static final Logger logger = LogManager.getLogger(SambaHelper.class); /** * SID type for an alias. */ public static final int SID_TYPE_ALIAS = 4; /** * SID type for a deleted account. */ public static final int SID_TYPE_DELETED = 6; /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/RelatedQueryHelper.java
import org.codelibs.fess.util.ComponentUtil; import jakarta.annotation.PostConstruct; /** * Helper class for managing related query configurations. * This class provides functionality to load, cache, and retrieve related queries * based on search terms and virtual hosts. Related queries are used to suggest * alternative or supplementary search terms to improve search results. */
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java
} /** * Retrieves related content for a given search query. * First checks for exact term matches, then evaluates regex patterns. * For regex matches, the query placeholder is replaced with the actual query. * * @param query the search query to find related content for * @return array of related content strings, or empty array if no matches found */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 8.2K bytes - Viewed (0)