- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for setMaxRetryCount (0.07 sec)
-
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: 2025-12-20 11:21 - Last Modified: 2025-03-15 06:52 - 15.1K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java
* Verifies that with maxRetryCount=5, the operation is tried exactly 6 times (initial + 5 retries) */ @Test public void testRetryLogicMaxRetryCount() throws Exception { fesenClient.setMaxRetryCount(5); fesenClient.setRetryInterval(10L); // Short interval for testing final AtomicInteger attemptCount = new AtomicInteger(0); final ActionFuture<String> mockFuture = mock(ActionFuture.class);
Registered: 2025-12-20 11:21 - Last Modified: 2025-11-20 08:44 - 17K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java
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. * @return The retry interval in milliseconds. */
Registered: 2025-12-20 11:21 - Last Modified: 2025-07-06 02:13 - 7.8K bytes - Viewed (0) -
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: 2025-12-20 11:21 - Last Modified: 2025-11-11 13:40 - 25.8K bytes - Viewed (0) -
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.Registered: 2025-12-20 11:21 - Last Modified: 2025-11-23 02:01 - 26.2K bytes - Viewed (0) -
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. *Registered: 2025-12-20 09:19 - Last Modified: 2025-11-28 16:29 - 26.1K bytes - Viewed (0)