Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for FaultTolerantClient (0.09 seconds)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java

     * <ul>
     *   <li>Retry up to 5 times</li>
     *   <li>Wait 500ms between retries</li>
     * </ul>
     *
     */
    public class FaultTolerantClient implements CrawlerClient {
    
        /** Logger instance for this class */
        private static final Logger logger = LogManager.getLogger(FaultTolerantClient.class);
    
        /** The underlying crawler client */
        protected CrawlerClient client;
    
        /** Maximum number of retry attempts */
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/SwitchableHttpClient.java

    package org.codelibs.fess.crawler.client.http;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.fess.crawler.client.CrawlerClient;
    import org.codelibs.fess.crawler.client.FaultTolerantClient;
    
    /**
     * SwitchableHttpClient is a switchable HTTP client that can use either Apache HttpComponents 4.x or 5.x.
     * The client implementation is selected based on the system property {@code fess.crawler.http.client}.
     *
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 08 04:17:06 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  3. CLAUDE.md

    **Resource Management**: `AutoCloseable` throughout, `DeferredFileOutputStream` for large responses, connection pooling, background temp file deletion via `FileUtil.deleteInBackground()`
    
    **Fault Tolerance**: `FaultTolerantClient` wrapper (retry, circuit breaker), `SwitchableHttpClient` for HTTP client fallback
    
    ---
    
    ## Key Components
    
    ### Core Classes
    
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Mar 12 03:39:20 GMT 2026
    - 8.1K bytes
    - Click Count (0)
Back to Top