Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for maxRetryCount (0.27 seconds)

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

         * @return The maximum retry count.
         */
        public int getMaxRetryCount() {
            return maxRetryCount;
        }
    
        /**
         * Sets the maximum retry count.
         * @param maxRetryCount The maximum retry count.
         */
        public void setMaxRetryCount(final int maxRetryCount) {
            this.maxRetryCount = maxRetryCount;
        }
    
        /**
         * Returns the retry interval.
    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-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

            this.retryInterval = retryInterval;
        }
    
        /**
         * Sets the maximum retry count.
         *
         * @param maxRetryCount The maximum retry count.
         */
        public void setMaxRetryCount(final int maxRetryCount) {
            this.maxRetryCount = maxRetryCount;
        }
    
        /**
         * Sets the connection timeout in milliseconds.
         *
         * @param connTimeout The connection timeout.
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Nov 23 02:01:26 GMT 2025
    - 26.2K bytes
    - Click Count (0)
  3. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

            assertTrue(fesenClient.onConnectListenerList instanceof java.util.concurrent.CopyOnWriteArrayList);
        }
    
        /**
         * Test: Retry logic correctly enforces maxRetryCount
         * Verifies that with maxRetryCount=5, the operation is tried exactly 6 times (initial + 5 retries)
         */
        @Test
        public void testRetryLogicMaxRetryCount() throws Exception {
            fesenClient.setMaxRetryCount(5);
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Jan 12 06:25:38 GMT 2026
    - 16.9K bytes
    - Click Count (0)
  4. fess-crawler-lasta/src/main/resources/crawler/client.xml

    		class="org.codelibs.fess.crawler.client.http.SwitchableHttpClient" instance="prototype">
    		<property name="hc5Client">internalHttpClient</property>
    		<property name="hc4Client">internalHc4HttpClient</property>
    		<property name="maxRetryCount">5</property>
    		<property name="retryInterval">500</property>
    		<postConstruct name="init" />
    	</component>
    
    	<component name="fsClient"
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 08 04:17:06 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

        }
    
        /**
         * Sets the maximum number of retry attempts for failed operations.
         *
         * @param maxRetryCount the maximum retry count
         */
        public void setMaxRetryCount(final int maxRetryCount) {
            this.maxRetryCount = maxRetryCount;
        }
    
        /**
         * Sets the default number of rows to process in a single batch.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 26.1K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

        }
    
        @Test
        public void test_setMaxRetryCount() {
            indexingHelper.setMaxRetryCount(10);
            assertEquals(10, indexingHelper.maxRetryCount);
    
            indexingHelper.setMaxRetryCount(0);
            assertEquals(0, indexingHelper.maxRetryCount);
        }
    
        @Test
        public void test_setDefaultRowSize() {
            indexingHelper.setDefaultRowSize(50);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 29.7K bytes
    - Click Count (0)
Back to Top