- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for setMaxRetryCount (0.32 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: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 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: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:44:44 UTC 2025 - 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: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 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: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Tue Nov 11 13:40:14 UTC 2025 - 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: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 02:01:26 UTC 2025 - 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: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 26.1K bytes - Viewed (0)