Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for setMaxRetryCount (0.08 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java

            assertEquals(5, testClient.count);
        }
    
        public void test_doGet_with4Exception_retryCount2() {
            final FaultTolerantClient client = new FaultTolerantClient();
            client.setMaxRetryCount(2);
            final TestClient testClient = new TestClient();
            testClient.exceptionCount = 4;
            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)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java

        public void setCrawlerClient(final CrawlerClient client) {
            this.client = client;
        }
    
        public int getMaxRetryCount() {
            return maxRetryCount;
        }
    
        public void setMaxRetryCount(final int maxRetryCount) {
            this.maxRetryCount = maxRetryCount;
        }
    
        public long getRetryInterval() {
            return retryInterval;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            }).prototype("httpClient", FaultTolerantClient.class, client -> {
                client.setCrawlerClient(container.getComponent("internalHttpClient"));
                client.setMaxRetryCount(5);
                client.setRetryInterval(500);
            }).prototype("fsClient", FileSystemClient.class).prototype("ruleManager", RuleManagerImpl.class, manager -> {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 18K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

            return response.getStatus().getStatus();
        }
    
        public long calculateDocumentSize(final Map<String, Object> dataMap) {
            return MemoryUtil.sizeOf(dataMap);
        }
    
        public void setMaxRetryCount(final int maxRetryCount) {
            this.maxRetryCount = maxRetryCount;
        }
    
        public void setDefaultRowSize(final int defaultRowSize) {
            this.defaultRowSize = defaultRowSize;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

            this.sizeForDelete = sizeForDelete;
        }
    
        public void setRetryInterval(final long retryInterval) {
            this.retryInterval = retryInterval;
        }
    
        public void setMaxRetryCount(final int maxRetryCount) {
            this.maxRetryCount = maxRetryCount;
        }
    
        public void setConnTimeout(final long connTimeout) {
            this.connTimeout = connTimeout;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

                @Override
                protected int refreshIndex(final SearchEngineClient searchEngineClient, final String index) {
                    return 200;
                }
            };
            indexingHelper.setMaxRetryCount(5);
            indexingHelper.setDefaultRowSize(100);
            indexingHelper.setRequestInterval(500);
            ComponentUtil.register(indexingHelper, "indexingHelper");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 08:54:24 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top