Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for FaultTolerantClient (0.1 sec)

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

        public interface RequestListener {
    
            void onRequestStart(FaultTolerantClient client, RequestData request);
    
            void onRequest(FaultTolerantClient client, RequestData request, int count);
    
            void onRequestEnd(FaultTolerantClient client, RequestData request, List<Exception> exceptionList);
    
            void onException(FaultTolerantClient client, RequestData request, int count, Exception e);
    
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java

    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * @author shinsuke
     *
     */
    public class FaultTolerantClientTest extends PlainTestCase {
    
        public void test_doGet() {
            final FaultTolerantClient client = new FaultTolerantClient();
            final TestClient testClient = new TestClient();
            final TestListener testListener = new TestListener();
            client.setCrawlerClient(testClient);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryTest.java

            assertTrue(client instanceof FaultTolerantClient);
            assertTrue(((FaultTolerantClient) client).getCrawlerClient() instanceof HcHttpClient);
    
            url = "https://hoge.com/";
            client = clientFactory.getClient(url);
            assertNotNull(client);
            assertTrue(client instanceof FaultTolerantClient);
            assertTrue(((FaultTolerantClient) client).getCrawlerClient() instanceof HcHttpClient);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. fess-crawler-lasta/src/main/resources/crawler/client.xml

    		instance="prototype">
    		<property name="connectionTimeout">15000</property>
    		<property name="soTimeout">30000</property>
    	</component>
    	<component name="httpClient"
    		class="org.codelibs.fess.crawler.client.FaultTolerantClient" instance="prototype">
    		<property name="crawlerClient">internalHttpClient</property>
    		<property name="maxRetryCount">5</property>
    		<property name="retryInterval">500</property>
    	</component>
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Tue Aug 08 12:54:47 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

    import java.util.Map;
    
    import org.apache.http.client.config.CookieSpecs;
    import org.codelibs.core.io.ResourceUtil;
    import org.codelibs.fess.crawler.client.CrawlerClientFactory;
    import org.codelibs.fess.crawler.client.FaultTolerantClient;
    import org.codelibs.fess.crawler.client.fs.FileSystemClient;
    import org.codelibs.fess.crawler.client.http.HcHttpClient;
    import org.codelibs.fess.crawler.container.StandardCrawlerContainer;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 18K bytes
    - Viewed (0)
Back to top