Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for berori (0.18 sec)

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

    import org.codelibs.core.lang.ThreadUtil;
    
    /**
     * Default implementation of the IntervalController.
     * 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.
     *
     */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/AbstractIntervalController.java

     * defining the specific delay behavior for each stage.
     *
     * <p>
     * This class defines the contract for delaying the crawling process at various points, such as:
     * </p>
     * <ul>
     *   <li>Before processing a URL ({@link #delayBeforeProcessing()})</li>
     *   <li>After processing a URL ({@link #delayAfterProcessing()})</li>
     *   <li>When there are no URLs in the queue ({@link #delayAtNoUrlInQueue()})</li>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java

     * that controls the interval between requests to the same host.
     * It uses a ConcurrentMap to store the last access time for each host.
     * 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.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/CrawlerContainer.java

         *
         * @return true if the crawler container is available, false otherwise.
         */
        boolean available();
    
        /**
         * Cleans up resources and performs any necessary finalization tasks
         * before the object is destroyed. This method should be called to
         * ensure that all resources are properly released.
         */
        void destroy();
    
        /**
         * Initializes the CrawlerContainer by setting the system property
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java

         */
        public IdnDnsResolver() {
            super();
        }
    
        /**
         * Resolves the given host name to an array of IP addresses.
         * The host name is first converted to ASCII using IDN before resolution.
         *
         * @param host the host name to resolve
         * @return an array of IP addresses for the host
         * @throws UnknownHostException if the host name cannot be resolved
         */
        @Override
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java

    /**
     * A fault-tolerant wrapper for CrawlerClient that implements retry logic for failed requests.
     * This client will attempt to execute requests multiple times before giving up, with configurable
     * retry counts and intervals between attempts.
     *
     * <p>The client supports a RequestListener interface to monitor the request lifecycle and handle
     * exceptions during retries.</p>
     *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java

         * This method delegates to {@link FileInputStream#mark(int)}.
         *
         * @param readlimit the maximum limit of bytes that can be read before the mark position becomes invalid
         */
        @Override
        public synchronized void mark(final int readlimit) {
            fileInputStream.mark(readlimit);
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. README.md

    # Build the project
    mvn clean install
    
    # Run tests
    mvn test
    
    # Format code before committing
    mvn formatter:format
    mvn license:format
    ```
    
    ### Code Style
    
    - Follow Java coding conventions
    - Use proper JavaDoc comments for public APIs
    - Include unit tests for new functionality
    - Ensure all tests pass before submitting PR
    
    ## License
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

            newFilter.clear();
            assertNotNull(newFilter);
        }
    
        /**
         * Test adding patterns before initialization
         */
        public void test_addPatterns_beforeInit() {
            // Create new filter
            UrlFilter newFilter = container.getComponent("urlFilter");
    
            // Add patterns before init
            newFilter.addInclude("https://example.com/.*");
            newFilter.addExclude(".*\\.css$");
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java

        public int hashCode() {
            return inputStream.hashCode();
        }
    
        /**
         * Marks the current position in this input stream.
         *
         * @param readlimit the maximum limit of bytes that can be read before the mark position becomes invalid
         */
        @Override
        public synchronized void mark(final int readlimit) {
            inputStream.mark(readlimit);
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top