Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for delayed (2.02 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. CLAUDE.md

    mvn formatter:format license:format     # Format code and apply licenses
    mvn clean jacoco:prepare-agent test jacoco:report  # Generate coverage report
    ```
    
    ### Adding New Features
    
    1. Read related source files and tests
    2. Write implementation following existing patterns
    3. Add comprehensive tests
    4. Run `mvn formatter:format license:format test`
    5. Update JavaDoc for changed/new classes
    
    **Principles:**
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. src/main/resources/fess_label_en.properties

    labels.group_list_name=Name
    labels.group_name=Name
    labels.group_title_details=Group
    labels.related_content_configuration=Related Content
    labels.related_content_content=Content
    labels.related_content_list_term=Term
    labels.related_content_term=Term
    labels.related_content_title_details=Related Content
    labels.related_query_configuration=Related Query
    labels.related_query_list_term=Term
    labels.related_query_queries=Queries
    labels.related_query_term=Term
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 44K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

         *
         * @param searchEngineClient the search engine client to use for deletion
         * @param id the parent document ID whose children should be deleted
         * @return the number of child documents that were deleted
         */
        public long deleteChildDocument(final SearchEngineClient searchEngineClient, final String id) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 26.1K bytes
    - Viewed (0)
Back to top